#D9BE42#D9BE42

#D9BE42 is a light, vivid yellow. Relative luminance 0.520; OKLCH L 80.3% C 0.142 H 96.6°. Best body text is #000000 at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#D9BE42
RGBrgb(217, 190, 66)
HSLhsl(49, 67%, 55%)
HSVhsv(49, 70%, 85%)
CMYKcmyk(0%, 12.4%, 69.6%, 14.9%)
CIE-LABlab(77.27, -3.79, 63.20)
CIE-LCHlch(77.27, 63.31, 93.44°)
OKLaboklab(80.28% -0.0164 0.1411)
OKLCHoklch(80.28% 0.142 96.6)
XYZxyz(48.0144, 51.9744, 12.6562)
Luminance0.5197 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9BE42 #425DD9
analogous
#D97342 #D9BE42 #A8D942
triadic
#D9BE42 #42D9BE #BE42D9
tetradic
#D9BE42 #42D973 #425DD9 #D942A8
square
#D9BE42 #42D973 #425DD9 #D942A8
split-complementary
#D9BE42 #42A8D9 #7342D9
monochromatic
#86731B #B99E25 #D9BE42 #E3D075 #EDE1A8

Accessibility & contrast

On white

1.84
#D9BE42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.39
#D9BE42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9BE42
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9BE42#FFFFFF#000000##000000
##D9BE421.001.8411.3911.39
#FFFFFF1.841.0021.0021.00
#00000011.3921.001.001.00
##00000011.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA30
Deuteranopia (green-blind)
#D8C349
Tritanopia (blue-blind)
#EAB0A5
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d9be42;
/* rgb */ color: rgb(217, 190, 66);
/* oklch */ color: oklch(80.3% 0.142 96.6);
Tailwind
colors: {
  custom: {
    50: '#e9d17d',
    500: '#d9be42',
    950: '#000000',
  },
}
SCSS
$custom: #d9be42;
$custom-light: #e9d17d;
$custom-dark: #000000;
JSON
{
  "hex": "#d9be42",
  "rgb": {
    "r": 217,
    "g": 190,
    "b": 66
  },
  "hsl": {
    "h": 49.272,
    "s": 66.52,
    "l": 55.49
  },
  "oklch": {
    "l": 0.80276,
    "c": 0.14205,
    "h": 96.6
  },
  "luminance": 0.51972
}

Semantic roles & 50–950 ramp

primary
#D9BE42
secondary
#33438C
accent
#5DE93E
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #D9BE42

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

Preview Lab → · Contrast checker → · Palette generator →

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