#D1B442#D1B442

#D1B442 is a light, vivid yellow. Relative luminance 0.466; OKLCH L 77.5% C 0.134 H 94.6°. Best body text is #000000 at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#D1B442
RGBrgb(209, 180, 66)
HSLhsl(48, 61%, 54%)
HSVhsv(48, 68%, 82%)
CMYKcmyk(0%, 13.9%, 68.4%, 18%)
CIE-LABlab(73.93, -2.01, 59.56)
CIE-LCHlch(73.93, 59.60, 91.93°)
OKLaboklab(77.46% -0.0108 0.1337)
OKLCHoklch(77.46% 0.134 94.6)
XYZxyz(43.6013, 46.5935, 11.8501)
Luminance0.4659 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1B442 #425FD1
analogous
#D16D42 #D1B442 #A7D142
triadic
#D1B442 #42D1B4 #B442D1
tetradic
#D1B442 #42D16D #425FD1 #D142A7
square
#D1B442 #42D16D #425FD1 #D142A7
split-complementary
#D1B442 #42A7D1 #6D42D1
monochromatic
#7B681E #AC922A #D1B442 #DDC873 #E9DBA4

Accessibility & contrast

On white

2.04
#D1B442 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.32
#D1B442 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1B442
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1B442#FFFFFF#000000##000000
##D1B4421.002.0410.3210.32
#FFFFFF2.041.0021.0021.00
#00000010.3221.001.001.00
##00000010.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B133
Deuteranopia (green-blind)
#CEBA48
Tritanopia (blue-blind)
#E1A69D
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #d1b442;
/* rgb */ color: rgb(209, 180, 66);
/* oklch */ color: oklch(77.5% 0.134 94.6);
Tailwind
colors: {
  custom: {
    50: '#e3ca7c',
    500: '#d1b442',
    950: '#000000',
  },
}
SCSS
$custom: #d1b442;
$custom-light: #e3ca7c;
$custom-dark: #000000;
JSON
{
  "hex": "#d1b442",
  "rgb": {
    "r": 209,
    "g": 180,
    "b": 66
  },
  "hsl": {
    "h": 47.832,
    "s": 60.851,
    "l": 53.922
  },
  "oklch": {
    "l": 0.77463,
    "c": 0.13412,
    "h": 94.6
  },
  "luminance": 0.46591
}

Semantic roles & 50–950 ramp

primary
#D1B442
secondary
#99A5D6
accent
#64E444
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D1B442

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

Preview Lab → · Contrast checker → · Palette generator →

#D1B442 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva