#7B9237
Closest named color: Drab Green (#749551). oklch(62.3% 0.12 122), rgb(123, 146, 55).
Aa
Black text reads best on this color (6.00:1).
About this color
#7B9237 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 62%, its chroma 0.120 and its hue 122°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Drab Green (#749551), ΔE 0.025 away. Black text reads best on it, at 6.00:1.
| Hue family | Yellows |
| Lightness | medium-light (62%) |
| Chroma | moderately saturated (0.120) |
| Temperature | in between |
| Nearest name | Drab Green (#749551) |
| Black text | 6.00:1 |
| White text | 3.49:1 |
Values
| HEX | #7B9237 |
| RGB | rgb(123, 146, 55) |
| HSL | hsl(75, 45%, 39%) |
| OKLCH | oklch(62.3% 0.12 122) |
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 #7B9237 | 3.49:1 | AA large text | Lc -67.9 | Content text, not long reading |
| Black text on #7B9237 | 6.00:1 | AA | Lc 41.7 | Non-text elements, placeholder text |
| #7B9237 text on white | 3.49:1 | AA large text | Lc 62.4 | Content text, not long reading |
| #7B9237 text on black | 6.00:1 | AA | Lc -39.3 | 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
#F4F6F1
oklch(97% 0.007 124.4)
-
Step 100
100
#E8ECDF
oklch(93.6% 0.018 120.7)
-
Step 200
200
#D5DDC5
oklch(88.5% 0.033 122.1)
-
Step 300
300
#BAC79D
oklch(80.9% 0.059 121.7)
-
Step 400
400
#97AA67
oklch(70.7% 0.093 121.7)
-
Step 500
500 (this color)
#7B9237
oklch(62.3% 0.12 122)
-
Step 600
600
#677E0D
oklch(55.5% 0.13 121.8)
-
Step 700
700
#566A00
oklch(49% 0.118 121.7)
-
Step 800
800
#465705
oklch(42.7% 0.101 122)
-
Step 900
900
#3B4811
oklch(37.8% 0.079 121.8)
-
Step 950
950
#222A0C
oklch(26.9% 0.05 122.3)
#7B9237 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) | #9A8A2C | 0.047 |
| Deuteranopia (no green cones) | #97893D | 0.049 |
| Tritanopia (no blue cones) | #818B7F | 0.100 |
| Achromatopsia (no color) | #898989 | 0.120 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7B9237
#7B9237
oklch(62.3% 0.12 122)
- #9574C3
#9574C3
oklch(62.3% 0.121 302.3)
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 #7B9237, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Drab Green #749551 ΔE 0.025
- Camo #7F8F4E ΔE 0.029
- Olive Drab #6B8E23 ΔE 0.031
- Dark Yellow Green #728F02 ΔE 0.032
- Moss #769958 ΔE 0.033
- Flat Green #699D4C ΔE 0.034
- Moss Green #658B38 ΔE 0.037
- Khaki Green #728639 ΔE 0.039
Use #7B9237 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.