#9FB40C
Closest named color: Mustard Green (#A8B504). oklch(72.8% 0.167 117.9), rgb(159, 180, 12).
Aa
Black text reads best on this color (9.00:1).
About this color
#9FB40C is a medium-light, vivid yellow. In OKLCH its lightness is 73%, its chroma 0.167 and its hue 118°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Mustard Green (#A8B504), ΔE 0.013 away. Black text reads best on it, at 9.00:1.
| Hue family | Yellows |
| Lightness | medium-light (73%) |
| Chroma | vivid (0.167) |
| Temperature | in between |
| Nearest name | Mustard Green (#A8B504) |
| Black text | 9.00:1 |
| White text | 2.33:1 |
Values
| HEX | #9FB40C |
| RGB | rgb(159, 180, 12) |
| HSL | hsl(68, 88%, 38%) |
| OKLCH | oklch(72.8% 0.167 117.9) |
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 #9FB40C | 2.33:1 | Fails | Lc -50.7 | Large or bold text, headings |
| Black text on #9FB40C | 9.00:1 | AAA | Lc 58.2 | Large or bold text, headings |
| #9FB40C text on white | 2.33:1 | Fails | Lc 45.8 | Large or bold text, headings |
| #9FB40C text on black | 9.00:1 | AAA | Lc -56.3 | Large or bold text, headings |
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 400.
-
Step 50
50
#F4F7ED
oklch(97.1% 0.014 120.3)
-
Step 100
100
#E8EDD7
oklch(93.6% 0.03 117.4)
-
Step 200
200
#D5DFB4
oklch(88.5% 0.058 118.2)
-
Step 300
300
#BACA7B
oklch(80.9% 0.104 118.1)
-
Step 400
400 (this color)
#9FB40C
oklch(72.8% 0.167 117.9)
-
Step 500
500
#839400
oklch(63.1% 0.146 117.6)
-
Step 600
600
#6D7C00
oklch(55.4% 0.129 117.8)
-
Step 700
700
#5C6900
oklch(49.2% 0.114 117.9)
-
Step 800
800
#4B5600
oklch(42.8% 0.1 117.9)
-
Step 900
900
#3E4700
oklch(37.7% 0.087 117.6)
-
Step 950
950
#242A00
oklch(27% 0.063 117.7)
#9FB40C 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) | #C1A900 | 0.055 |
| Deuteranopia (no green cones) | #BFAA26 | 0.055 |
| Tritanopia (no blue cones) | #AAA999 | 0.145 |
| Achromatopsia (no color) | #AAAAAA | 0.167 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #9FB40C
#9FB40C
oklch(72.8% 0.167 117.9)
- #B48EFF
#B48EFF
oklch(72.8% 0.162 297.7)
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 #9FB40C, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Mustard Green #A8B504 ΔE 0.013
- Bright Olive #9CBB04 ΔE 0.019
- Avocado #90B134 ΔE 0.026
- Icky Green #8FAE22 ΔE 0.029
- Pea #A4BF20 ΔE 0.031
- Dark Lime #84B701 ΔE 0.035
- Pea Green #8EAB12 ΔE 0.035
- Pea Soup Green #94A617 ΔE 0.043
Use #9FB40C 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.