#B7D040
Closest named color: Yellow Green (#9ACD32). oklch(81.3% 0.167 118.8), rgb(183, 208, 64).
Aa
Black text reads best on this color (12.10:1).
About this color
#B7D040 is a light, vivid yellow. In OKLCH its lightness is 81%, its chroma 0.167 and its hue 119°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Yellow Green (#9ACD32), ΔE 0.040 away. Black text reads best on it, at 12.10:1.
| Hue family | Yellows |
| Lightness | light (81%) |
| Chroma | vivid (0.167) |
| Temperature | in between |
| Nearest name | Yellow Green (#9ACD32) |
| Black text | 12.10:1 |
| White text | 1.73:1 |
Values
| HEX | #B7D040 |
| RGB | rgb(183, 208, 64) |
| HSL | hsl(70, 61%, 53%) |
| OKLCH | oklch(81.3% 0.167 118.8) |
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 #B7D040 | 1.73:1 | Fails | Lc -35.2 | Non-text elements, placeholder text |
| Black text on #B7D040 | 12.10:1 | AAA | Lc 72.5 | Content text, not long reading |
| #B7D040 text on white | 1.73:1 | Fails | Lc 31.3 | Non-text elements, placeholder text |
| #B7D040 text on black | 12.10:1 | AAA | Lc -71.4 | Content text, not long reading |
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 300.
-
Step 50
50
#F4F8E7
oklch(97.2% 0.023 117.6)
-
Step 100
100
#E6EFCB
oklch(93.6% 0.048 118.7)
-
Step 200
200
#D2E29C
oklch(88.4% 0.093 118.8)
-
Step 300
300 (this color)
#B7D040
oklch(81.3% 0.167 118.8)
-
Step 400
400
#97AE00
oklch(70.8% 0.166 118.8)
-
Step 500
500
#819500
oklch(63.2% 0.148 118.8)
-
Step 600
600
#6C7D00
oklch(55.6% 0.13 118.8)
-
Step 700
700
#5A6900
oklch(49.1% 0.115 119)
-
Step 800
800
#4A5600
oklch(42.8% 0.1 118.6)
-
Step 900
900
#3D4800
oklch(37.8% 0.089 119.1)
-
Step 950
950
#232A00
oklch(26.9% 0.063 118.9)
#B7D040 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) | #DDC529 | 0.055 |
| Deuteranopia (no green cones) | #DBC54B | 0.059 |
| Tritanopia (no blue cones) | #C2C5B4 | 0.143 |
| Achromatopsia (no color) | #C5C5C5 | 0.167 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #B7D040
#B7D040
oklch(81.3% 0.167 118.8)
- #CBB2FF
#CBB2FF
oklch(81.2% 0.11 298.9)
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 #B7D040, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Yellow Green #9ACD32 ΔE 0.040
- Slime Green #99CC04 ΔE 0.050
- Pale Olive Green #B1D27B ΔE 0.051
- Pea #A4BF20 ΔE 0.055
- Mustard Yellow #D2BD0A ΔE 0.055
- Light Moss Green #A6C875 ΔE 0.060
- Greenish Tan #BCCB7A ΔE 0.060
- Greenish Beige #C9D179 ΔE 0.060
Use #B7D040 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.