#907B1F#907B1F
#907B1F is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.6% C 0.109 H 95.5°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #907B1F |
|---|---|
| RGB | rgb(144, 123, 31) |
| HSL | hsl(49, 65%, 34%) |
| HSV | hsv(49, 78%, 56%) |
| CMYK | cmyk(0%, 14.6%, 78.5%, 43.5%) |
| CIE-LAB | lab(52.06, -1.86, 49.75) |
| CIE-LCH | lch(52.06, 49.79, 92.14°) |
| OKLab | oklab(58.61% -0.0105 0.1088) |
| OKLCH | oklch(58.61% 0.109 95.5) |
| XYZ | xyz(18.8329, 20.1952, 4.2022) |
| Luminance | 0.2019 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 1.99
Baby Poop
#937C00
ΔE00 2.45
Puke Brown
#947706
ΔE00 3.06
Poo
#8F7303
ΔE00 3.66
Yellowish Brown
#9B7A01
ΔE00 4.19
Diarrhea
#9F8303
ΔE00 4.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#907B1F #1F3490
analogous
#90431F #907B1F #6C901F
triadic
#907B1F #1F907B #7B1F90
tetradic
#907B1F #1F9043 #1F3490 #901F6C
square
#907B1F #1F9043 #1F3490 #901F6C
split-complementary
#907B1F #1F6C90 #431F90
monochromatic
#2B2509 #5E5014 #907B1F #C2A62A #D9C050
Accessibility & contrast
On white
4.17
#907B1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.04
#907B1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #907B1F
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##907B1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##907B1F | 1.00 | 4.17 | 5.04 | 5.04 |
| #FFFFFF | 4.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#88780C
Deuteranopia (green-blind)
#8E7F25
Tritanopia (blue-blind)
#9C7169
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #907b1f; /* rgb */ color: rgb(144, 123, 31); /* oklch */ color: oklch(58.6% 0.109 95.5);
Tailwind
colors: {
custom: {
50: '#b4a062',
500: '#907b1f',
950: '#000000',
},
}SCSS
$custom: #907b1f; $custom-light: #b4a062; $custom-dark: #000000;
JSON
{
"hex": "#907b1f",
"rgb": {
"r": 144,
"g": 123,
"b": 31
},
"hsl": {
"h": 48.85,
"s": 64.571,
"l": 34.314
},
"oklch": {
"l": 0.58612,
"c": 0.10929,
"h": 95.5
},
"luminance": 0.20194
}Semantic roles & 50–950 ramp
primary
#907B1F
secondary
#4E63BC
accent
#5FE840
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#120E05
muted
#817E7A