#D2CD3B#D2CD3B

#D2CD3B is a very light, vivid yellow. Relative luminance 0.577; OKLCH L 82.7% C 0.159 H 107.4°. Best body text is #000000 at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#D2CD3B
RGBrgb(210, 205, 59)
HSLhsl(58, 63%, 53%)
HSVhsv(58, 72%, 82%)
CMYKcmyk(0%, 2.4%, 71.9%, 17.6%)
CIE-LABlab(80.56, -14.75, 68.82)
CIE-LCHlch(80.56, 70.38, 102.09°)
OKLaboklab(82.74% -0.0477 0.152)
OKLCHoklch(82.74% 0.159 107.4)
XYZxyz(49.2010, 57.6817, 12.6788)
Luminance0.5768 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CD3B #3B40D2
analogous
#D2813B #D2CD3B #8CD23B
triadic
#D2CD3B #3BD2CD #CD3BD2
tetradic
#D2CD3B #3BD281 #3B40D2 #D23B8C
square
#D2CD3B #3BD281 #3B40D2 #D23B8C
split-complementary
#D2CD3B #3B8CD2 #813BD2
monochromatic
#77741B #A9A527 #D2CD3B #DDDA6D #E9E69F

Accessibility & contrast

On white

1.68
#D2CD3B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.54
#D2CD3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CD3B
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CD3B#FFFFFF#000000##000000
##D2CD3B1.001.6812.5412.54
#FFFFFF1.681.0021.0021.00
#00000012.5421.001.001.00
##00000012.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC520
Deuteranopia (green-blind)
#E1CA46
Tritanopia (blue-blind)
#E1C0B1
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d2cd3b;
/* rgb */ color: rgb(210, 205, 59);
/* oklch */ color: oklch(82.7% 0.159 107.4);
Tailwind
colors: {
  custom: {
    50: '#e4dc7b',
    500: '#d2cd3b',
    950: '#000000',
  },
}
SCSS
$custom: #d2cd3b;
$custom-light: #e4dc7b;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cd3b",
  "rgb": {
    "r": 210,
    "g": 205,
    "b": 59
  },
  "hsl": {
    "h": 58.013,
    "s": 62.656,
    "l": 52.745
  },
  "oklch": {
    "l": 0.82736,
    "c": 0.15932,
    "h": 107.4
  },
  "luminance": 0.5768
}

Semantic roles & 50–950 ramp

primary
#D2CD3B
secondary
#32347F
accent
#48E642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16150A
muted
#85847D

Preview Lab

Preview with #D2CD3B

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

Preview Lab → · Contrast checker → · Palette generator →

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