#D2CB54#D2CB54

#D2CB54 is a very light, vivid yellow. Relative luminance 0.571; OKLCH L 82.5% C 0.140 H 105.9°. Best body text is #000000 at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#D2CB54
RGBrgb(210, 203, 84)
HSLhsl(57, 58%, 58%)
HSVhsv(57, 60%, 82%)
CMYKcmyk(0%, 3.3%, 60%, 17.6%)
CIE-LABlab(80.21, -12.33, 58.63)
CIE-LCHlch(80.21, 59.91, 101.87°)
OKLaboklab(82.52% -0.0383 0.1344)
OKLCHoklch(82.52% 0.14 105.9)
XYZxyz(49.5362, 57.0552, 16.7892)
Luminance0.5705 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CB54 #545BD2
analogous
#D28C54 #D2CB54 #9AD254
triadic
#D2CB54 #54D2CB #CB54D2
tetradic
#D2CB54 #54D28C #545BD2 #D2549A
square
#D2CB54 #54D28C #545BD2 #D2549A
split-complementary
#D2CB54 #549AD2 #8C54D2
monochromatic
#888224 #B8B131 #D2CB54 #DFDA84 #EBE8B5

Accessibility & contrast

On white

1.69
#D2CB54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.41
#D2CB54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CB54
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CB54#FFFFFF#000000##000000
##D2CB541.001.6912.4112.41
#FFFFFF1.691.0021.0021.00
#00000012.4121.001.001.00
##00000012.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC446
Deuteranopia (green-blind)
#DEC95B
Tritanopia (blue-blind)
#E0BFB2
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d2cb54;
/* rgb */ color: rgb(210, 203, 84);
/* oklch */ color: oklch(82.5% 0.140 105.9);
Tailwind
colors: {
  custom: {
    50: '#e3da89',
    500: '#d2cb54',
    950: '#000000',
  },
}
SCSS
$custom: #d2cb54;
$custom-light: #e3da89;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cb54",
  "rgb": {
    "r": 210,
    "g": 203,
    "b": 84
  },
  "hsl": {
    "h": 56.667,
    "s": 58.333,
    "l": 57.647
  },
  "oklch": {
    "l": 0.82515,
    "c": 0.13976,
    "h": 105.9
  },
  "luminance": 0.57054
}

Semantic roles & 50–950 ramp

primary
#D2CB54
secondary
#3C408E
accent
#4FE246
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D2CB54

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

Preview Lab → · Contrast checker → · Palette generator →

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