#938F22#938F22
#938F22 is a light, vivid yellow. Relative luminance 0.260; OKLCH L 63.4% C 0.125 H 107.3°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).
Color values
| HEX | #938F22 |
|---|---|
| RGB | rgb(147, 143, 34) |
| HSL | hsl(58, 62%, 35%) |
| HSV | hsv(58, 77%, 58%) |
| CMYK | cmyk(0%, 2.7%, 76.9%, 42.4%) |
| CIE-LAB | lab(58.00, -11.31, 54.30) |
| CIE-LCH | lch(58.00, 55.47, 101.77°) |
| OKLab | oklab(63.41% -0.037 0.119) |
| OKLCH | oklch(63.41% 0.125 107.3) |
| XYZ | xyz(22.1447, 25.9642, 5.3582) |
| Luminance | 0.2596 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop Green
#8F9805
ΔE00 4.40
Pea Soup
#929901
ΔE00 4.43
Baby Shit Green
#889717
ΔE00 5.16
Olive
#808000
ΔE00 5.90
Vomit
#A2A415
ΔE00 6.99
Baby Poo
#AB9004
ΔE00 7.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#938F22 #222693
analogous
#935622 #938F22 #5E9322
triadic
#938F22 #22938F #8F2293
tetradic
#938F22 #229356 #222693 #93225E
square
#938F22 #229356 #222693 #93225E
split-complementary
#938F22 #225E93 #562293
monochromatic
#302E0B #615F17 #938F22 #C5BF2D #D8D457
Accessibility & contrast
On white
3.39
#938F22 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.19
#938F22 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #938F22
6.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##938F22 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##938F22 | 1.00 | 3.39 | 6.19 | 6.19 |
| #FFFFFF | 3.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9C8908
Deuteranopia (green-blind)
#9E8D2B
Tritanopia (blue-blind)
#9E857A
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #938f22; /* rgb */ color: rgb(147, 143, 34); /* oklch */ color: oklch(63.4% 0.125 107.3);
Tailwind
colors: {
custom: {
50: '#b6af66',
500: '#938f22',
950: '#000000',
},
}SCSS
$custom: #938f22; $custom-light: #b6af66; $custom-dark: #000000;
JSON
{
"hex": "#938f22",
"rgb": {
"r": 147,
"g": 143,
"b": 34
},
"hsl": {
"h": 57.876,
"s": 62.431,
"l": 35.49
},
"oklch": {
"l": 0.63408,
"c": 0.12459,
"h": 107.3
},
"luminance": 0.25963
}Semantic roles & 50–950 ramp
primary
#938F22
secondary
#5558BC
accent
#48E542
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A