#8A8F26#8A8F26
#8A8F26 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 | #8A8F26 |
|---|---|
| RGB | rgb(138, 143, 38) |
| HSL | hsl(63, 58%, 35%) |
| HSV | hsv(63, 73%, 56%) |
| CMYK | cmyk(3.5%, 0%, 73.4%, 43.9%) |
| CIE-LAB | lab(57.26, -15.17, 51.90) |
| CIE-LCH | lch(57.26, 54.07, 106.29°) |
| OKLab | oklab(62.63% -0.0469 0.115) |
| OKLCH | oklch(62.63% 0.124 112.2) |
| XYZ | xyz(20.6542, 25.1886, 5.6072) |
| Luminance | 0.2519 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Shit Green
#889717
ΔE00 3.49
Baby Poop Green
#8F9805
ΔE00 4.01
Pea Soup
#929901
ΔE00 4.49
Swamp Green
#748500
ΔE00 5.49
Olive
#808000
ΔE00 5.64
Ugly Green
#7A9703
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A8F26 #2B268F
analogous
#8F5F26 #8A8F26 #558F26
triadic
#8A8F26 #268A8F #8F268A
tetradic
#8A8F26 #268F5F #2B268F #8F2655
square
#8A8F26 #268F5F #2B268F #8F2655
split-complementary
#8A8F26 #26558F #5F268F
monochromatic
#2D2E0C #5B5F19 #8A8F26 #B9BF33 #CED45C
Accessibility & contrast
On white
3.48
#8A8F26 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.04
#8A8F26 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A8F26
6.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A8F26 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A8F26 | 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)
#9A8812
Deuteranopia (green-blind)
#9A8B2E
Tritanopia (blue-blind)
#94867B
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #8a8f26; /* rgb */ color: rgb(138, 143, 38); /* oklch */ color: oklch(62.6% 0.124 112.2);
Tailwind
colors: {
custom: {
50: '#afaf68',
500: '#8a8f26',
950: '#000000',
},
}SCSS
$custom: #8a8f26; $custom-light: #afaf68; $custom-dark: #000000;
JSON
{
"hex": "#8a8f26",
"rgb": {
"r": 138,
"g": 143,
"b": 38
},
"hsl": {
"h": 62.857,
"s": 58.011,
"l": 35.49
},
"oklch": {
"l": 0.62633,
"c": 0.12416,
"h": 112.2
},
"luminance": 0.25188
}Semantic roles & 50–950 ramp
primary
#8A8F26
secondary
#5D58B9
accent
#47E14E
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A