#938E27#938E27
#938E27 is a light, vivid yellow. Relative luminance 0.257; OKLCH L 63.2% C 0.121 H 106.6°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #938E27 |
|---|---|
| RGB | rgb(147, 142, 39) |
| HSL | hsl(57, 58%, 36%) |
| HSV | hsv(57, 73%, 58%) |
| CMYK | cmyk(0%, 3.4%, 73.5%, 42.4%) |
| CIE-LAB | lab(57.75, -10.54, 52.26) |
| CIE-LCH | lch(57.75, 53.32, 101.41°) |
| OKLab | oklab(63.21% -0.0344 0.1156) |
| OKLCH | oklch(63.21% 0.121 106.6) |
| XYZ | xyz(22.0727, 25.6963, 5.7163) |
| Luminance | 0.2570 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop Green
#8F9805
ΔE00 5.01
Pea Soup
#929901
ΔE00 5.07
Baby Shit Green
#889717
ΔE00 5.61
Olive
#808000
ΔE00 5.81
Baby Poo
#AB9004
ΔE00 7.41
Vomit
#A2A415
ΔE00 7.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#938E27 #272C93
analogous
#935827 #938E27 #629327
triadic
#938E27 #27938E #8E2793
tetradic
#938E27 #279358 #272C93 #932762
square
#938E27 #279358 #272C93 #932762
split-complementary
#938E27 #276293 #582793
monochromatic
#32310D #635F1A #938E27 #C3BD34 #D5CF60
Accessibility & contrast
On white
3.42
#938E27 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.14
#938E27 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #938E27
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##938E27 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##938E27 | 1.00 | 3.42 | 6.14 | 6.14 |
| #FFFFFF | 3.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A8814
Deuteranopia (green-blind)
#9D8D2E
Tritanopia (blue-blind)
#9E847A
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #938e27; /* rgb */ color: rgb(147, 142, 39); /* oklch */ color: oklch(63.2% 0.121 106.6);
Tailwind
colors: {
custom: {
50: '#b6ae69',
500: '#938e27',
950: '#000000',
},
}SCSS
$custom: #938e27; $custom-light: #b6ae69; $custom-dark: #000000;
JSON
{
"hex": "#938e27",
"rgb": {
"r": 147,
"g": 142,
"b": 39
},
"hsl": {
"h": 57.222,
"s": 58.065,
"l": 36.471
},
"oklch": {
"l": 0.63214,
"c": 0.12059,
"h": 106.6
},
"luminance": 0.25696
}Semantic roles & 50–950 ramp
primary
#938E27
secondary
#5C60BA
accent
#4EE147
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121007
muted
#817F7A