#948022#948022
#948022 is a mid, moderate yellow. Relative luminance 0.218; OKLCH L 60.1% C 0.112 H 96.6°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #948022 |
|---|---|
| RGB | rgb(148, 128, 34) |
| HSL | hsl(49, 63%, 36%) |
| HSV | hsv(49, 77%, 58%) |
| CMYK | cmyk(0%, 13.5%, 77%, 42%) |
| CIE-LAB | lab(53.87, -2.67, 50.48) |
| CIE-LCH | lch(53.87, 50.55, 93.02°) |
| OKLab | oklab(60.14% -0.0127 0.1108) |
| OKLCH | oklch(60.14% 0.112 96.6) |
| XYZ | xyz(20.2217, 21.8508, 4.6656) |
| Luminance | 0.2185 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 2.64
Hazel
#8E7618
ΔE00 3.78
Diarrhea
#9F8303
ΔE00 3.78
Puke Brown
#947706
ΔE00 4.17
Yellowish Brown
#9B7A01
ΔE00 4.57
Poo
#8F7303
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#948022 #223694
analogous
#944722 #948022 #6F9422
triadic
#948022 #229480 #802294
tetradic
#948022 #229447 #223694 #94226F
square
#948022 #229447 #223694 #94226F
split-complementary
#948022 #226F94 #472294
monochromatic
#302A0B #625517 #948022 #C6AB2D #D9C258
Accessibility & contrast
On white
3.91
#948022 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.37
#948022 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #948022
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##948022 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##948022 | 1.00 | 3.91 | 5.37 | 5.37 |
| #FFFFFF | 3.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8E7D10
Deuteranopia (green-blind)
#938428
Tritanopia (blue-blind)
#A0766E
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #948022; /* rgb */ color: rgb(148, 128, 34); /* oklch */ color: oklch(60.1% 0.112 96.6);
Tailwind
colors: {
custom: {
50: '#b7a465',
500: '#948022',
950: '#000000',
},
}SCSS
$custom: #948022; $custom-light: #b7a465; $custom-dark: #000000;
JSON
{
"hex": "#948022",
"rgb": {
"r": 148,
"g": 128,
"b": 34
},
"hsl": {
"h": 49.474,
"s": 62.637,
"l": 35.686
},
"oklch": {
"l": 0.60144,
"c": 0.1115,
"h": 96.6
},
"luminance": 0.2185
}Semantic roles & 50–950 ramp
primary
#948022
secondary
#5567BD
accent
#5FE642
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A