#948124#948124
#948124 is a mid, moderate yellow. Relative luminance 0.221; OKLCH L 60.4% C 0.111 H 97.2°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).
Color values
| HEX | #948124 |
|---|---|
| RGB | rgb(148, 129, 36) |
| HSL | hsl(50, 61%, 36%) |
| HSV | hsv(50, 76%, 58%) |
| CMYK | cmyk(0%, 12.8%, 75.7%, 42%) |
| CIE-LAB | lab(54.16, -3.13, 49.99) |
| CIE-LCH | lch(54.16, 50.09, 93.58°) |
| OKLab | oklab(60.38% -0.0138 0.1102) |
| OKLCH | oklch(60.38% 0.111 97.2) |
| XYZ | xyz(20.3825, 22.1249, 4.8656) |
| Luminance | 0.2212 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.01
Diarrhea
#9F8303
ΔE00 3.95
Hazel
#8E7618
ΔE00 4.18
Puke Brown
#947706
ΔE00 4.62
Yellowish Brown
#9B7A01
ΔE00 4.99
Poo
#8F7303
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#948124 #243794
analogous
#944924 #948124 #6F9424
triadic
#948124 #249481 #812494
tetradic
#948124 #249449 #243794 #94246F
square
#948124 #249449 #243794 #94246F
split-complementary
#948124 #246F94 #492494
monochromatic
#322B0C #635618 #948124 #C5AC30 #D7C25B
Accessibility & contrast
On white
3.87
#948124 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.42
#948124 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #948124
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##948124 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##948124 | 1.00 | 3.87 | 5.42 | 5.42 |
| #FFFFFF | 3.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8E7E14
Deuteranopia (green-blind)
#93842A
Tritanopia (blue-blind)
#A0776F
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #948124; /* rgb */ color: rgb(148, 129, 36); /* oklch */ color: oklch(60.4% 0.111 97.2);
Tailwind
colors: {
custom: {
50: '#b7a566',
500: '#948124',
950: '#000000',
},
}SCSS
$custom: #948124; $custom-light: #b7a566; $custom-dark: #000000;
JSON
{
"hex": "#948124",
"rgb": {
"r": 148,
"g": 129,
"b": 36
},
"hsl": {
"h": 49.821,
"s": 60.87,
"l": 36.078
},
"oklch": {
"l": 0.60379,
"c": 0.11102,
"h": 97.2
},
"luminance": 0.22124
}Semantic roles & 50–950 ramp
primary
#948124
secondary
#5869BC
accent
#5FE444
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A