#94791F#94791F
#94791F is a mid, moderate yellow. Relative luminance 0.201; OKLCH L 58.6% C 0.109 H 91.2°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #94791F |
|---|---|
| RGB | rgb(148, 121, 31) |
| HSL | hsl(46, 65%, 35%) |
| HSV | hsv(46, 79%, 58%) |
| CMYK | cmyk(0%, 18.2%, 79.1%, 42%) |
| CIE-LAB | lab(51.92, 1.13, 49.77) |
| CIE-LCH | lch(51.92, 49.78, 88.70°) |
| OKLab | oklab(58.6% -0.0022 0.1086) |
| OKLCH | oklch(58.6% 0.109 91.2) |
| XYZ | xyz(19.2986, 20.0708, 4.1536) |
| Luminance | 0.2007 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 1.78
Puke Brown
#947706
ΔE00 1.95
Poo
#8F7303
ΔE00 2.79
Yellowish Brown
#9B7A01
ΔE00 2.90
Baby Poop
#937C00
ΔE00 3.14
Diarrhea
#9F8303
ΔE00 4.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#94791F #1F3A94
analogous
#943F1F #94791F #74941F
triadic
#94791F #1F9479 #791F94
tetradic
#94791F #1F943F #1F3A94 #941F74
square
#94791F #1F943F #1F3A94 #941F74
split-complementary
#94791F #1F7494 #3F1F94
monochromatic
#2F260A #615014 #94791F #C7A22A #DBBB53
Accessibility & contrast
On white
4.19
#94791F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.01
#94791F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #94791F
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##94791F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##94791F | 1.00 | 4.19 | 5.01 | 5.01 |
| #FFFFFF | 4.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#87770D
Deuteranopia (green-blind)
#8E7F24
Tritanopia (blue-blind)
#A16E68
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #94791f; /* rgb */ color: rgb(148, 121, 31); /* oklch */ color: oklch(58.6% 0.109 91.2);
Tailwind
colors: {
custom: {
50: '#b79f62',
500: '#94791f',
950: '#000000',
},
}SCSS
$custom: #94791f; $custom-light: #b79f62; $custom-dark: #000000;
JSON
{
"hex": "#94791f",
"rgb": {
"r": 148,
"g": 121,
"b": 31
},
"hsl": {
"h": 46.154,
"s": 65.363,
"l": 35.098
},
"oklch": {
"l": 0.58597,
"c": 0.10864,
"h": 91.2
},
"luminance": 0.2007
}Semantic roles & 50–950 ramp
primary
#94791F
secondary
#516ABE
accent
#66E83F
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120E05
muted
#817E7A