#948D1C#948D1C
#948D1C is a light, vivid yellow. Relative luminance 0.254; OKLCH L 63.0% C 0.126 H 105.7°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).
Color values
| HEX | #948D1C |
|---|---|
| RGB | rgb(148, 141, 28) |
| HSL | hsl(57, 68%, 35%) |
| HSV | hsv(57, 81%, 58%) |
| CMYK | cmyk(0%, 4.7%, 81.1%, 42%) |
| CIE-LAB | lab(57.49, -10.02, 55.81) |
| CIE-LCH | lch(57.49, 56.70, 100.18°) |
| OKLab | oklab(63.01% -0.034 0.121) |
| OKLCH | oklch(63.01% 0.126 105.7) |
| XYZ | xyz(21.9482, 25.4303, 4.8508) |
| Luminance | 0.2543 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 5.12
Baby Poop Green
#8F9805
ΔE00 5.17
Olive
#808000
ΔE00 5.61
Baby Shit Green
#889717
ΔE00 6.12
Baby Poo
#AB9004
ΔE00 6.59
Diarrhea
#9F8303
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#948D1C #1C2394
analogous
#94511C #948D1C #5F941C
triadic
#948D1C #1C948D #8D1C94
tetradic
#948D1C #1C9451 #1C2394 #941C5F
square
#948D1C #1C9451 #1C2394 #941C5F
split-complementary
#948D1C #1C5F94 #511C94
monochromatic
#2D2B09 #615C12 #948D1C #C7BE26 #DDD54D
Accessibility & contrast
On white
3.45
#948D1C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.09
#948D1C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #948D1C
6.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##948D1C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##948D1C | 1.00 | 3.45 | 6.09 | 6.09 |
| #FFFFFF | 3.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A8800
Deuteranopia (green-blind)
#9D8C26
Tritanopia (blue-blind)
#A08378
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #948d1c; /* rgb */ color: rgb(148, 141, 28); /* oklch */ color: oklch(63.0% 0.126 105.7);
Tailwind
colors: {
custom: {
50: '#b7ae64',
500: '#948d1c',
950: '#000000',
},
}SCSS
$custom: #948d1c; $custom-light: #b7ae64; $custom-dark: #000000;
JSON
{
"hex": "#948d1c",
"rgb": {
"r": 148,
"g": 141,
"b": 28
},
"hsl": {
"h": 56.5,
"s": 68.182,
"l": 34.51
},
"oklch": {
"l": 0.63013,
"c": 0.12566,
"h": 105.7
},
"luminance": 0.25429
}Semantic roles & 50–950 ramp
primary
#948D1C
secondary
#4C53C0
accent
#47EB3D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A