#907F22#907F22
#907F22 is a mid, moderate yellow. Relative luminance 0.212; OKLCH L 59.5% C 0.110 H 98.4°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).
Color values
| HEX | #907F22 |
|---|---|
| RGB | rgb(144, 127, 34) |
| HSL | hsl(51, 62%, 35%) |
| HSV | hsv(51, 76%, 56%) |
| CMYK | cmyk(0%, 11.8%, 76.4%, 43.5%) |
| CIE-LAB | lab(53.19, -3.96, 49.70) |
| CIE-LCH | lch(53.19, 49.86, 94.55°) |
| OKLab | oklab(59.52% -0.0162 0.1093) |
| OKLCH | oklch(59.52% 0.11 98.4) |
| XYZ | xyz(19.3807, 21.2245, 4.5890) |
| Luminance | 0.2122 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.00
Hazel
#8E7618
ΔE00 3.75
Puke Brown
#947706
ΔE00 4.62
Diarrhea
#9F8303
ΔE00 4.76
Poo
#8F7303
ΔE00 5.36
Yellowish Brown
#9B7A01
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#907F22 #223390
analogous
#904822 #907F22 #6A9022
triadic
#907F22 #22907F #7F2290
tetradic
#907F22 #229048 #223390 #90226A
square
#907F22 #229048 #223390 #90226A
split-complementary
#907F22 #226A90 #482290
monochromatic
#2D280B #5E5316 #907F22 #C2AB2E #D7C355
Accessibility & contrast
On white
4.00
#907F22 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.24
#907F22 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #907F22
5.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##907F22 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##907F22 | 1.00 | 4.00 | 5.24 | 5.24 |
| #FFFFFF | 4.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C7C11
Deuteranopia (green-blind)
#918228
Tritanopia (blue-blind)
#9C756D
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #907f22; /* rgb */ color: rgb(144, 127, 34); /* oklch */ color: oklch(59.5% 0.110 98.4);
Tailwind
colors: {
custom: {
50: '#b4a364',
500: '#907f22',
950: '#000000',
},
}SCSS
$custom: #907f22; $custom-light: #b4a364; $custom-dark: #000000;
JSON
{
"hex": "#907f22",
"rgb": {
"r": 144,
"g": 127,
"b": 34
},
"hsl": {
"h": 50.727,
"s": 61.798,
"l": 34.902
},
"oklch": {
"l": 0.59518,
"c": 0.11048,
"h": 98.4
},
"luminance": 0.21224
}Semantic roles & 50–950 ramp
primary
#907F22
secondary
#5363BB
accent
#5CE543
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#120F06
muted
#817F7A