#7B9B0C
Closest named color: Pea Soup (#929901). oklch(64.2% 0.155 123.2), rgb(123, 155, 12).
Aa
Black text reads best on this color (6.53:1).
About this color
#7B9B0C is a medium-light, vivid yellow. In OKLCH its lightness is 64%, its chroma 0.155 and its hue 123°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pea Soup (#929901), ΔE 0.031 away. Black text reads best on it, at 6.53:1.
| Hue family | Yellows |
| Lightness | medium-light (64%) |
| Chroma | vivid (0.155) |
| Temperature | in between |
| Nearest name | Pea Soup (#929901) |
| Black text | 6.53:1 |
| White text | 3.21:1 |
Values
| HEX | #7B9B0C |
| RGB | rgb(123, 155, 12) |
| HSL | hsl(73, 86%, 33%) |
| OKLCH | oklch(64.2% 0.155 123.2) |
Contrast
WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #7B9B0C | 3.21:1 | AA large text | Lc -64.6 | Content text, not long reading |
| Black text on #7B9B0C | 6.53:1 | AA | Lc 44.9 | Non-text elements, placeholder text |
| #7B9B0C text on white | 3.21:1 | AA large text | Lc 59.2 | Large or bold text, headings |
| #7B9B0C text on black | 6.53:1 | AA | Lc -42.6 | Non-text elements, placeholder text |
Tints and shades
A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 500.
-
Step 50
50
#F4F7EF
oklch(97.2% 0.011 123.5)
-
Step 100
100
#E7EDDD
oklch(93.7% 0.022 123.6)
-
Step 200
200
#D3DEC0
oklch(88.4% 0.042 123.7)
-
Step 300
300
#B7C993
oklch(80.9% 0.075 123)
-
Step 400
400
#92AD53
oklch(70.7% 0.121 123.3)
-
Step 500
500 (this color)
#7B9B0C
oklch(64.2% 0.155 123.2)
-
Step 600
600
#647F00
oklch(55.5% 0.136 123.2)
-
Step 700
700
#546B00
oklch(49.1% 0.121 123.1)
-
Step 800
800
#445800
oklch(42.8% 0.106 123.5)
-
Step 900
900
#384900
oklch(37.7% 0.093 123.4)
-
Step 950
950
#202B02
oklch(26.9% 0.064 123.7)
#7B9B0C with color blindness
Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #A59000 | 0.065 |
| Deuteranopia (no green cones) | #A18F21 | 0.065 |
| Tritanopia (no blue cones) | #829383 | 0.128 |
| Achromatopsia (no color) | #909090 | 0.155 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7B9B0C
#7B9B0C
oklch(64.2% 0.155 123.2)
- #A172D9
#A172D9
oklch(64.3% 0.155 303.4)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #7B9B0C, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pea Soup #929901 ΔE 0.031
- Dark Yellow Green #728F02 ΔE 0.037
- Leaf #71AA34 ΔE 0.041
- Flat Green #699D4C ΔE 0.042
- Avocado Green #87A922 ΔE 0.044
- Olive Drab #6B8E23 ΔE 0.047
- Off Green #6BA353 ΔE 0.047
- Pea Soup Green #94A617 ΔE 0.048
Use #7B9B0C in your product
Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.