#8F9226#8F9226
#8F9226 is a light, vivid yellow. Relative luminance 0.265; OKLCH L 63.8% C 0.126 H 111.1°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).
Color values
| HEX | #8F9226 |
|---|---|
| RGB | rgb(143, 146, 38) |
| HSL | hsl(62, 59%, 36%) |
| HSV | hsv(62, 74%, 57%) |
| CMYK | cmyk(2.1%, 0%, 74%, 42.7%) |
| CIE-LAB | lab(58.54, -14.52, 53.28) |
| CIE-LCH | lch(58.54, 55.22, 105.24°) |
| OKLab | oklab(63.76% -0.0454 0.1177) |
| OKLCH | oklch(63.76% 0.126 111.1) |
| XYZ | xyz(21.9572, 26.5379, 5.7990) |
| Luminance | 0.2654 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop Green
#8F9805
ΔE00 3.18
Baby Shit Green
#889717
ΔE00 3.26
Pea Soup
#929901
ΔE00 3.50
Ugly Green
#7A9703
ΔE00 6.09
Vomit
#A2A415
ΔE00 6.50
Olive
#808000
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F9226 #292692
analogous
#925F26 #8F9226 #599226
triadic
#8F9226 #268F92 #92268F
tetradic
#8F9226 #26925F #292692 #922659
square
#8F9226 #26925F #292692 #922659
split-complementary
#8F9226 #265992 #5F2692
monochromatic
#30310D #5F6119 #8F9226 #BFC333 #D2D55D
Accessibility & contrast
On white
3.33
#8F9226 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.31
#8F9226 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F9226
6.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F9226 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F9226 | 1.00 | 3.33 | 6.31 | 6.31 |
| #FFFFFF | 3.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9E8B11
Deuteranopia (green-blind)
#9E8E2F
Tritanopia (blue-blind)
#99897D
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #8f9226; /* rgb */ color: rgb(143, 146, 38); /* oklch */ color: oklch(63.8% 0.126 111.1);
Tailwind
colors: {
custom: {
50: '#b3b169',
500: '#8f9226',
950: '#000000',
},
}SCSS
$custom: #8f9226; $custom-light: #b3b169; $custom-dark: #000000;
JSON
{
"hex": "#8f9226",
"rgb": {
"r": 143,
"g": 146,
"b": 38
},
"hsl": {
"h": 61.667,
"s": 58.696,
"l": 36.078
},
"oklch": {
"l": 0.63764,
"c": 0.12614,
"h": 111.1
},
"luminance": 0.26537
}Semantic roles & 50–950 ramp
primary
#8F9226
secondary
#5C5ABA
accent
#46E24A
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#111007
muted
#807F7A