#D2CE3B#D2CE3B

#D2CE3B is a very light, vivid yellow. Relative luminance 0.582; OKLCH L 83.0% C 0.160 H 107.9°. Best body text is #000000 at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#D2CE3B
RGBrgb(210, 206, 59)
HSLhsl(58, 63%, 53%)
HSVhsv(58, 72%, 82%)
CMYKcmyk(0%, 1.9%, 71.9%, 17.6%)
CIE-LABlab(80.83, -15.25, 69.08)
CIE-LCHlch(80.83, 70.74, 102.45°)
OKLaboklab(82.95% -0.0491 0.1525)
OKLCHoklch(82.95% 0.16 107.9)
XYZxyz(49.4410, 58.1617, 12.7588)
Luminance0.5816 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CE3B #3B3FD2
analogous
#D2833B #D2CE3B #8AD23B
triadic
#D2CE3B #3BD2CE #CE3BD2
tetradic
#D2CE3B #3BD283 #3B3FD2 #D23B8A
square
#D2CE3B #3BD283 #3B3FD2 #D23B8A
split-complementary
#D2CE3B #3B8AD2 #833BD2
monochromatic
#77751B #A9A627 #D2CE3B #DDDA6D #E9E79F

Accessibility & contrast

On white

1.66
#D2CE3B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.63
#D2CE3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CE3B
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CE3B#FFFFFF#000000##000000
##D2CE3B1.001.6612.6312.63
#FFFFFF1.661.0021.0021.00
#00000012.6321.001.001.00
##00000012.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC61F
Deuteranopia (green-blind)
#E2CB46
Tritanopia (blue-blind)
#E1C1B2
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d2ce3b;
/* rgb */ color: rgb(210, 206, 59);
/* oklch */ color: oklch(83.0% 0.160 107.9);
Tailwind
colors: {
  custom: {
    50: '#e4dc7b',
    500: '#d2ce3b',
    950: '#000000',
  },
}
SCSS
$custom: #d2ce3b;
$custom-light: #e4dc7b;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ce3b",
  "rgb": {
    "r": 210,
    "g": 206,
    "b": 59
  },
  "hsl": {
    "h": 58.411,
    "s": 62.656,
    "l": 52.745
  },
  "oklch": {
    "l": 0.8295,
    "c": 0.16026,
    "h": 107.9
  },
  "luminance": 0.5816
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2CE3B

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

Preview Lab → · Contrast checker → · Palette generator →

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