#98AB42
Closest named color: Avocado (#90B134). oklch(70.5% 0.132 118.6), rgb(152, 171, 66).
Aa
Black text reads best on this color (8.23:1).
About this color
#98AB42 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 71%, its chroma 0.132 and its hue 119°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Avocado (#90B134), ΔE 0.025 away. Black text reads best on it, at 8.23:1.
| Hue family | Yellows |
| Lightness | medium-light (71%) |
| Chroma | moderately saturated (0.132) |
| Temperature | in between |
| Nearest name | Avocado (#90B134) |
| Black text | 8.23:1 |
| White text | 2.54:1 |
Values
| HEX | #98AB42 |
| RGB | rgb(152, 171, 66) |
| HSL | hsl(71, 44%, 46%) |
| OKLCH | oklch(70.5% 0.132 118.6) |
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 #98AB42 | 2.54:1 | Fails | Lc -54.9 | Large or bold text, headings |
| Black text on #98AB42 | 8.23:1 | AAA | Lc 54.2 | Large or bold text, headings |
| #98AB42 text on white | 2.54:1 | Fails | Lc 49.8 | Large or bold text, headings |
| #98AB42 text on black | 8.23:1 | AAA | Lc -52.1 | 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
#F4F7EE
oklch(97.1% 0.012 121.7)
-
Step 100
100
#E8ECDB
oklch(93.5% 0.023 117.6)
-
Step 200
200
#D6DEBC
oklch(88.6% 0.046 118.1)
-
Step 300
300
#BBC98C
oklch(81% 0.083 118.8)
-
Step 400
400 (this color)
#98AB42
oklch(70.5% 0.132 118.6)
-
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
#5B6900
oklch(49.2% 0.115 118.5)
-
Step 800
800
#4A5600
oklch(42.8% 0.1 118.6)
-
Step 900
900
#3D4700
oklch(37.6% 0.088 118.5)
-
Step 950
950
#242A00
oklch(27% 0.063 117.7)
#98AB42 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) | #B6A236 | 0.046 |
| Deuteranopia (no green cones) | #B3A349 | 0.046 |
| Tritanopia (no blue cones) | #A0A295 | 0.113 |
| Achromatopsia (no color) | #A2A2A2 | 0.132 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #98AB42
#98AB42
oklch(70.5% 0.132 118.6)
- #AB8CE7
#AB8CE7
oklch(70.4% 0.133 298.6)
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 #98AB42, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Avocado #90B134 ΔE 0.025
- Pea Soup Green #94A617 ΔE 0.028
- Icky Green #8FAE22 ΔE 0.030
- Pea Green #8EAB12 ΔE 0.033
- Avocado Green #87A922 ΔE 0.035
- Asparagus #77AB56 ΔE 0.042
- Mustard Green #A8B504 ΔE 0.048
- Turtle Green #75B84F ΔE 0.049
Use #98AB42 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.