#948D1D#948D1D

#948D1D is a light, vivid yellow. Relative luminance 0.254; OKLCH L 63.0% C 0.125 H 105.7°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#948D1D
RGBrgb(148, 141, 29)
HSLhsl(56, 67%, 35%)
HSVhsv(56, 80%, 58%)
CMYKcmyk(0%, 4.7%, 80.4%, 42%)
CIE-LABlab(57.50, -9.99, 55.51)
CIE-LCHlch(57.50, 56.40, 100.20°)
OKLaboklab(63.02% -0.0338 0.1205)
OKLCHoklch(63.02% 0.125 105.7)
XYZxyz(21.9603, 25.4352, 4.9149)
Luminance0.2543 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948D1D #1D2494
analogous
#94521D #948D1D #5F941D
triadic
#948D1D #1D948D #8D1D94
tetradic
#948D1D #1D9452 #1D2494 #941D5F
square
#948D1D #1D9452 #1D2494 #941D5F
split-complementary
#948D1D #1D5F94 #521D94
monochromatic
#2E2B09 #615C13 #948D1D #C7BE27 #DCD44F

Accessibility & contrast

On white

3.45
#948D1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#948D1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #948D1D
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##948D1D#FFFFFF#000000##000000
##948D1D1.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8800
Deuteranopia (green-blind)
#9D8C27
Tritanopia (blue-blind)
#A08378
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #948d1d;
/* rgb */ color: rgb(148, 141, 29);
/* oklch */ color: oklch(63.0% 0.125 105.7);
Tailwind
colors: {
  custom: {
    50: '#b7ae64',
    500: '#948d1d',
    950: '#000000',
  },
}
SCSS
$custom: #948d1d;
$custom-light: #b7ae64;
$custom-dark: #000000;
JSON
{
  "hex": "#948d1d",
  "rgb": {
    "r": 148,
    "g": 141,
    "b": 29
  },
  "hsl": {
    "h": 56.471,
    "s": 67.232,
    "l": 34.706
  },
  "oklch": {
    "l": 0.63018,
    "c": 0.12516,
    "h": 105.7
  },
  "luminance": 0.25434
}

Semantic roles & 50–950 ramp

primary
#948D1D
secondary
#4E54BF
accent
#48EA3E
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #948D1D

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#948D1D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva