#8A8F27#8A8F27
#8A8F27 is a light, vivid yellow. Relative luminance 0.252; OKLCH L 62.6% C 0.124 H 112.2°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).
Color values
| HEX | #8A8F27 |
|---|---|
| RGB | rgb(138, 143, 39) |
| HSL | hsl(63, 57%, 36%) |
| HSV | hsv(63, 73%, 56%) |
| CMYK | cmyk(3.5%, 0%, 72.7%, 43.9%) |
| CIE-LAB | lab(57.27, -15.12, 51.53) |
| CIE-LCH | lch(57.27, 53.70, 106.35°) |
| OKLab | oklab(62.64% -0.0467 0.1144) |
| OKLCH | oklch(62.64% 0.124 112.2) |
| XYZ | xyz(20.6706, 25.1952, 5.6933) |
| Luminance | 0.2520 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Shit Green
#889717
ΔE00 3.53
Baby Poop Green
#8F9805
ΔE00 4.09
Pea Soup
#929901
ΔE00 4.57
Swamp Green
#748500
ΔE00 5.52
Olive
#808000
ΔE00 5.68
Ugly Green
#7A9703
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A8F27 #2C278F
analogous
#8F6027 #8A8F27 #568F27
triadic
#8A8F27 #278A8F #8F278A
tetradic
#8A8F27 #278F60 #2C278F #8F2756
square
#8A8F27 #278F60 #2C278F #8F2756
split-complementary
#8A8F27 #27568F #60278F
monochromatic
#2D2F0D #5C5F1A #8A8F27 #B8BF34 #CDD35D
Accessibility & contrast
On white
3.48
#8A8F27 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.04
#8A8F27 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A8F27
6.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A8F27 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A8F27 | 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)
#9A8814
Deuteranopia (green-blind)
#9A8B2F
Tritanopia (blue-blind)
#94867B
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #8a8f27; /* rgb */ color: rgb(138, 143, 39); /* oklch */ color: oklch(62.6% 0.124 112.2);
Tailwind
colors: {
custom: {
50: '#afaf69',
500: '#8a8f27',
950: '#000000',
},
}SCSS
$custom: #8a8f27; $custom-light: #afaf69; $custom-dark: #000000;
JSON
{
"hex": "#8a8f27",
"rgb": {
"r": 138,
"g": 143,
"b": 39
},
"hsl": {
"h": 62.885,
"s": 57.143,
"l": 35.686
},
"oklch": {
"l": 0.6264,
"c": 0.12351,
"h": 112.2
},
"luminance": 0.25195
}Semantic roles & 50–950 ramp
primary
#8A8F27
secondary
#5E5AB8
accent
#47E04F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A