#938227#938227
#938227 is a mid, moderate yellow. Relative luminance 0.223; OKLCH L 60.5% C 0.110 H 98.3°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).
Color values
| HEX | #938227 |
|---|---|
| RGB | rgb(147, 130, 39) |
| HSL | hsl(51, 58%, 36%) |
| HSV | hsv(51, 73%, 58%) |
| CMYK | cmyk(0%, 11.6%, 73.5%, 42.4%) |
| CIE-LAB | lab(54.36, -4.00, 48.97) |
| CIE-LCH | lch(54.36, 49.13, 94.67°) |
| OKLab | oklab(60.52% -0.0159 0.1086) |
| OKLCH | oklch(60.52% 0.11 98.3) |
| XYZ | xyz(20.3824, 22.3158, 5.1528) |
| Luminance | 0.2231 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.61
Diarrhea
#9F8303
ΔE00 4.50
Hazel
#8E7618
ΔE00 4.68
Puke Brown
#947706
ΔE00 5.30
Yellowish Brown
#9B7A01
ΔE00 5.71
Olive
#808000
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#938227 #273893
analogous
#934C27 #938227 #6E9327
triadic
#938227 #279382 #822793
tetradic
#938227 #27934C #273893 #93276E
square
#938227 #27934C #273893 #93276E
split-complementary
#938227 #276E93 #4C2793
monochromatic
#322C0D #63571A #938227 #C3AD34 #D5C260
Accessibility & contrast
On white
3.84
#938227 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.46
#938227 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #938227
5.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##938227 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##938227 | 1.00 | 3.84 | 5.46 | 5.46 |
| #FFFFFF | 3.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7F19
Deuteranopia (green-blind)
#94852D
Tritanopia (blue-blind)
#9F7870
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #938227; /* rgb */ color: rgb(147, 130, 39); /* oklch */ color: oklch(60.5% 0.110 98.3);
Tailwind
colors: {
custom: {
50: '#b6a667',
500: '#938227',
950: '#000000',
},
}SCSS
$custom: #938227; $custom-light: #b6a667; $custom-dark: #000000;
JSON
{
"hex": "#938227",
"rgb": {
"r": 147,
"g": 130,
"b": 39
},
"hsl": {
"h": 50.556,
"s": 58.065,
"l": 36.471
},
"oklch": {
"l": 0.60522,
"c": 0.10977,
"h": 98.3
},
"luminance": 0.22315
}Semantic roles & 50–950 ramp
primary
#938227
secondary
#5C6BBA
accent
#5FE147
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A