#98A42E#98A42E
#98A42E is a light, vivid yellow. Relative luminance 0.334; OKLCH L 68.7% C 0.138 H 115.2°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).
Color values
| HEX | #98A42E |
|---|---|
| RGB | rgb(152, 164, 46) |
| HSL | hsl(66, 56%, 41%) |
| HSV | hsv(66, 72%, 64%) |
| CMYK | cmyk(7.3%, 0%, 72%, 35.7%) |
| CIE-LAB | lab(64.50, -19.46, 56.35) |
| CIE-LCH | lch(64.50, 59.61, 109.05°) |
| OKLab | oklab(68.73% -0.0589 0.1253) |
| OKLCH | oklch(68.73% 0.138 115.2) |
| XYZ | xyz(26.7182, 33.4240, 7.6282) |
| Luminance | 0.3342 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 2.10
Vomit Green
#89A203
ΔE00 3.54
Vomit
#A2A415
ΔE00 3.68
Barf Green
#94AC02
ΔE00 3.91
Pea Green
#8EAB12
ΔE00 4.02
Puke Green
#9AAE07
ΔE00 4.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98A42E #3A2EA4
analogous
#A4752E #98A42E #5DA42E
triadic
#98A42E #2E98A4 #A42E98
tetradic
#98A42E #2EA475 #3A2EA4 #A42E5D
square
#98A42E #2EA475 #3A2EA4 #A42E5D
split-complementary
#98A42E #2E5DA4 #752EA4
monochromatic
#3F4413 #6C7421 #98A42E #BDCB45 #CED874
Accessibility & contrast
On white
2.73
#98A42E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.68
#98A42E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #98A42E
7.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98A42E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##98A42E | 1.00 | 2.73 | 7.68 | 7.68 |
| #FFFFFF | 2.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09C19
Deuteranopia (green-blind)
#AF9D37
Tritanopia (blue-blind)
#A29A8D
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #98a42e; /* rgb */ color: rgb(152, 164, 46); /* oklch */ color: oklch(68.7% 0.138 115.2);
Tailwind
colors: {
custom: {
50: '#b9be6f',
500: '#98a42e',
950: '#000000',
},
}SCSS
$custom: #98a42e; $custom-light: #b9be6f; $custom-dark: #000000;
JSON
{
"hex": "#98a42e",
"rgb": {
"r": 152,
"g": 164,
"b": 46
},
"hsl": {
"h": 66.102,
"s": 56.19,
"l": 41.176
},
"oklch": {
"l": 0.68732,
"c": 0.13846,
"h": 115.2
},
"luminance": 0.33424
}Semantic roles & 50–950 ramp
primary
#98A42E
secondary
#766EC0
accent
#48DF58
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121208
muted
#81817B