#8A8F25#8A8F25
#8A8F25 is a light, vivid yellow. Relative luminance 0.252; OKLCH L 62.6% C 0.125 H 112.2°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).
Color values
| HEX | #8A8F25 |
|---|---|
| RGB | rgb(138, 143, 37) |
| HSL | hsl(63, 59%, 35%) |
| HSV | hsv(63, 74%, 56%) |
| CMYK | cmyk(3.5%, 0%, 74.1%, 43.9%) |
| CIE-LAB | lab(57.25, -15.22, 52.26) |
| CIE-LCH | lch(57.25, 54.43, 106.24°) |
| OKLab | oklab(62.63% -0.0472 0.1155) |
| OKLCH | oklch(62.63% 0.125 112.2) |
| XYZ | xyz(20.6383, 25.1823, 5.5234) |
| Luminance | 0.2518 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Shit Green
#889717
ΔE00 3.45
Baby Poop Green
#8F9805
ΔE00 3.94
Pea Soup
#929901
ΔE00 4.41
Swamp Green
#748500
ΔE00 5.47
Olive
#808000
ΔE00 5.61
Ugly Green
#7A9703
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A8F25 #2A258F
analogous
#8F5F25 #8A8F25 #558F25
triadic
#8A8F25 #258A8F #8F258A
tetradic
#8A8F25 #258F5F #2A258F #8F2555
square
#8A8F25 #258F5F #2A258F #8F2555
split-complementary
#8A8F25 #25558F #5F258F
monochromatic
#2C2E0C #5B5E18 #8A8F25 #B9C032 #CFD45A
Accessibility & contrast
On white
3.48
#8A8F25 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.04
#8A8F25 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A8F25
6.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A8F25 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A8F25 | 1.00 | 3.48 | 6.04 | 6.04 |
| #FFFFFF | 3.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A8810
Deuteranopia (green-blind)
#9B8B2D
Tritanopia (blue-blind)
#94867B
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #8a8f25; /* rgb */ color: rgb(138, 143, 37); /* oklch */ color: oklch(62.6% 0.125 112.2);
Tailwind
colors: {
custom: {
50: '#afaf68',
500: '#8a8f25',
950: '#000000',
},
}SCSS
$custom: #8a8f25; $custom-light: #afaf68; $custom-dark: #000000;
JSON
{
"hex": "#8a8f25",
"rgb": {
"r": 138,
"g": 143,
"b": 37
},
"hsl": {
"h": 62.83,
"s": 58.889,
"l": 35.294
},
"oklch": {
"l": 0.62626,
"c": 0.12479,
"h": 112.2
},
"luminance": 0.25182
}Semantic roles & 50–950 ramp
primary
#8A8F25
secondary
#5B57B9
accent
#46E24D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A