#98A42C#98A42C
#98A42C is a light, vivid yellow. Relative luminance 0.334; OKLCH L 68.7% C 0.140 H 115.2°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).
Color values
| HEX | #98A42C |
|---|---|
| RGB | rgb(152, 164, 44) |
| HSL | hsl(66, 58%, 41%) |
| HSV | hsv(66, 73%, 64%) |
| CMYK | cmyk(7.3%, 0%, 73.2%, 35.7%) |
| CIE-LAB | lab(64.49, -19.56, 57.06) |
| CIE-LCH | lch(64.49, 60.33, 108.92°) |
| OKLab | oklab(68.72% -0.0594 0.1265) |
| OKLCH | oklch(68.72% 0.14 115.2) |
| XYZ | xyz(26.6797, 33.4086, 7.4254) |
| Luminance | 0.3341 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 1.95
Vomit Green
#89A203
ΔE00 3.45
Vomit
#A2A415
ΔE00 3.53
Barf Green
#94AC02
ΔE00 3.78
Puke Green
#9AAE07
ΔE00 3.93
Pea Green
#8EAB12
ΔE00 3.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98A42C #382CA4
analogous
#A4742C #98A42C #5CA42C
triadic
#98A42C #2C98A4 #A42C98
tetradic
#98A42C #2CA474 #382CA4 #A42C5C
square
#98A42C #2CA474 #382CA4 #A42C5C
split-complementary
#98A42C #2C5CA4 #742CA4
monochromatic
#3F4312 #6B741F #98A42C #BECC41 #CFD971
Accessibility & contrast
On white
2.73
#98A42C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.68
#98A42C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #98A42C
7.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98A42C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##98A42C | 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)
#B09C15
Deuteranopia (green-blind)
#AF9D36
Tritanopia (blue-blind)
#A29A8D
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #98a42c; /* rgb */ color: rgb(152, 164, 44); /* oklch */ color: oklch(68.7% 0.140 115.2);
Tailwind
colors: {
custom: {
50: '#babe6e',
500: '#98a42c',
950: '#000000',
},
}SCSS
$custom: #98a42c; $custom-light: #babe6e; $custom-dark: #000000;
JSON
{
"hex": "#98a42c",
"rgb": {
"r": 152,
"g": 164,
"b": 44
},
"hsl": {
"h": 66,
"s": 57.692,
"l": 40.784
},
"oklch": {
"l": 0.68718,
"c": 0.13971,
"h": 115.2
},
"luminance": 0.33408
}Semantic roles & 50–950 ramp
primary
#98A42C
secondary
#746BC0
accent
#47E156
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121208
muted
#81817B