#D9CB50#D9CB50

#D9CB50 is a very light, vivid yellow. Relative luminance 0.580; OKLCH L 83.1% C 0.142 H 102.8°. Best body text is #000000 at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#D9CB50
RGBrgb(217, 203, 80)
HSLhsl(54, 64%, 58%)
HSVhsv(54, 63%, 85%)
CMYKcmyk(0%, 6.5%, 63.1%, 14.9%)
CIE-LABlab(80.76, -9.67, 61.11)
CIE-LCHlch(80.76, 61.87, 98.99°)
OKLaboklab(83.09% -0.0316 0.1389)
OKLCHoklch(83.09% 0.142 102.8)
XYZxyz(51.4212, 58.0448, 16.0830)
Luminance0.5804 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CB50 #505ED9
analogous
#D98750 #D9CB50 #A2D950
triadic
#D9CB50 #50D9CB #CB50D9
tetradic
#D9CB50 #50D987 #505ED9 #D950A2
square
#D9CB50 #50D987 #505ED9 #D950A2
split-complementary
#D9CB50 #50A2D9 #8750D9
monochromatic
#8F841F #C2B22A #D9CB50 #E4DA82 #EFE9B5

Accessibility & contrast

On white

1.67
#D9CB50 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.61
#D9CB50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9CB50
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9CB50#FFFFFF#000000##000000
##D9CB501.001.6712.6112.61
#FFFFFF1.671.0021.0021.00
#00000012.6121.001.001.00
##00000012.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC541
Deuteranopia (green-blind)
#E1CB57
Tritanopia (blue-blind)
#E9BEB1
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d9cb50;
/* rgb */ color: rgb(217, 203, 80);
/* oklch */ color: oklch(83.1% 0.142 102.8);
Tailwind
colors: {
  custom: {
    50: '#e8da86',
    500: '#d9cb50',
    950: '#000000',
  },
}
SCSS
$custom: #d9cb50;
$custom-light: #e8da86;
$custom-dark: #000000;
JSON
{
  "hex": "#d9cb50",
  "rgb": {
    "r": 217,
    "g": 203,
    "b": 80
  },
  "hsl": {
    "h": 53.869,
    "s": 64.319,
    "l": 58.235
  },
  "oklch": {
    "l": 0.83085,
    "c": 0.14248,
    "h": 102.8
  },
  "luminance": 0.58043
}

Semantic roles & 50–950 ramp

primary
#D9CB50
secondary
#384295
accent
#52E740
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#16140C
muted
#85837F

Preview Lab

Preview with #D9CB50

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

Preview Lab → · Contrast checker → · Palette generator →

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