#948B27#948B27
#948B27 is a light, moderate yellow. Relative luminance 0.249; OKLCH L 62.6% C 0.118 H 104.1°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).
Color values
| HEX | #948B27 |
|---|---|
| RGB | rgb(148, 139, 39) |
| HSL | hsl(55, 58%, 37%) |
| HSV | hsv(55, 74%, 58%) |
| CMYK | cmyk(0%, 6.1%, 73.6%, 42%) |
| CIE-LAB | lab(56.99, -8.48, 51.56) |
| CIE-LCH | lch(56.99, 52.25, 99.33°) |
| OKLab | oklab(62.63% -0.0286 0.1141) |
| OKLCH | oklch(62.63% 0.118 104.1) |
| XYZ | xyz(21.8125, 24.9085, 5.5779) |
| Luminance | 0.2491 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 5.58
Baby Poop Green
#8F9805
ΔE00 6.35
Pea Soup
#929901
ΔE00 6.36
Diarrhea
#9F8303
ΔE00 6.39
Baby Poop
#937C00
ΔE00 6.53
Baby Poo
#AB9004
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#948B27 #273094
analogous
#945527 #948B27 #679427
triadic
#948B27 #27948B #8B2794
tetradic
#948B27 #279455 #273094 #942767
square
#948B27 #279455 #273094 #942767
split-complementary
#948B27 #276794 #552794
monochromatic
#33300D #645E1A #948B27 #C4B834 #D5CC60
Accessibility & contrast
On white
3.51
#948B27 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.98
#948B27 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #948B27
5.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##948B27 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##948B27 | 1.00 | 3.51 | 5.98 | 5.98 |
| #FFFFFF | 3.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#988616
Deuteranopia (green-blind)
#9B8B2E
Tritanopia (blue-blind)
#9F8177
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #948b27; /* rgb */ color: rgb(148, 139, 39); /* oklch */ color: oklch(62.6% 0.118 104.1);
Tailwind
colors: {
custom: {
50: '#b7ac68',
500: '#948b27',
950: '#000000',
},
}SCSS
$custom: #948b27; $custom-light: #b7ac68; $custom-dark: #000000;
JSON
{
"hex": "#948b27",
"rgb": {
"r": 148,
"g": 139,
"b": 39
},
"hsl": {
"h": 55.046,
"s": 58.289,
"l": 36.667
},
"oklch": {
"l": 0.62629,
"c": 0.1176,
"h": 104.1
},
"luminance": 0.24908
}Semantic roles & 50–950 ramp
primary
#948B27
secondary
#5C64BB
accent
#53E246
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121007
muted
#817F7A