#D2CB41#D2CB41

#D2CB41 is a very light, vivid yellow. Relative luminance 0.568; OKLCH L 82.4% C 0.154 H 106.4°. Best body text is #000000 at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#D2CB41
RGBrgb(210, 203, 65)
HSLhsl(57, 62%, 54%)
HSVhsv(57, 69%, 82%)
CMYKcmyk(0%, 3.3%, 69%, 17.6%)
CIE-LABlab(80.07, -13.46, 66.18)
CIE-LCHlch(80.07, 67.53, 101.49°)
OKLaboklab(82.35% -0.0435 0.1475)
OKLCHoklch(82.35% 0.154 106.4)
XYZxyz(48.8903, 56.7969, 13.3876)
Luminance0.5679 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CB41 #4148D2
analogous
#D28341 #D2CB41 #91D241
triadic
#D2CB41 #41D2CB #CB41D2
tetradic
#D2CB41 #41D283 #4148D2 #D24191
square
#D2CB41 #41D283 #4148D2 #D24191
split-complementary
#D2CB41 #4191D2 #8341D2
monochromatic
#7B771D #ADA629 #D2CB41 #DED972 #E9E6A4

Accessibility & contrast

On white

1.70
#D2CB41 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.36
#D2CB41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CB41
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CB41#FFFFFF#000000##000000
##D2CB411.001.7012.3612.36
#FFFFFF1.701.0021.0021.00
#00000012.3621.001.001.00
##00000012.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC32B
Deuteranopia (green-blind)
#DFC94A
Tritanopia (blue-blind)
#E1BEB0
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d2cb41;
/* rgb */ color: rgb(210, 203, 65);
/* oklch */ color: oklch(82.4% 0.154 106.4);
Tailwind
colors: {
  custom: {
    50: '#e3da7e',
    500: '#d2cb41',
    950: '#000000',
  },
}
SCSS
$custom: #d2cb41;
$custom-light: #e3da7e;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cb41",
  "rgb": {
    "r": 210,
    "g": 203,
    "b": 65
  },
  "hsl": {
    "h": 57.103,
    "s": 61.702,
    "l": 53.922
  },
  "oklch": {
    "l": 0.82353,
    "c": 0.15375,
    "h": 106.4
  },
  "luminance": 0.56795
}

Semantic roles & 50–950 ramp

primary
#D2CB41
secondary
#343883
accent
#4BE543
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #D2CB41

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

Preview Lab → · Contrast checker → · Palette generator →

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