#D2CB58#D2CB58

#D2CB58 is a very light, vivid yellow. Relative luminance 0.571; OKLCH L 82.6% C 0.136 H 105.8°. Best body text is #000000 at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#D2CB58
RGBrgb(210, 203, 88)
HSLhsl(57, 58%, 58%)
HSVhsv(57, 58%, 82%)
CMYKcmyk(0%, 3.3%, 58.1%, 17.6%)
CIE-LABlab(80.25, -12.05, 56.92)
CIE-LCHlch(80.25, 58.18, 101.95°)
OKLaboklab(82.56% -0.0371 0.1313)
OKLCHoklch(82.56% 0.136 105.8)
XYZxyz(49.6973, 57.1197, 17.6380)
Luminance0.5712 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CB58 #585FD2
analogous
#D28E58 #D2CB58 #9CD258
triadic
#D2CB58 #58D2CB #CB58D2
tetradic
#D2CB58 #58D28E #585FD2 #D2589C
square
#D2CB58 #58D28E #585FD2 #D2589C
split-complementary
#D2CB58 #589CD2 #8E58D2
monochromatic
#8A8525 #BBB332 #D2CB58 #DFDA88 #ECE9B8

Accessibility & contrast

On white

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

On black

12.42
#D2CB58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CB58
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CB58#FFFFFF#000000##000000
##D2CB581.001.6912.4212.42
#FFFFFF1.691.0021.0021.00
#00000012.4221.001.001.00
##00000012.4221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2cb58;
/* rgb */ color: rgb(210, 203, 88);
/* oklch */ color: oklch(82.6% 0.136 105.8);
Tailwind
colors: {
  custom: {
    50: '#e2da8b',
    500: '#d2cb58',
    950: '#000000',
  },
}
SCSS
$custom: #d2cb58;
$custom-light: #e2da8b;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cb58",
  "rgb": {
    "r": 210,
    "g": 203,
    "b": 88
  },
  "hsl": {
    "h": 56.557,
    "s": 57.547,
    "l": 58.431
  },
  "oklch": {
    "l": 0.82555,
    "c": 0.13641,
    "h": 105.8
  },
  "luminance": 0.57118
}

Semantic roles & 50–950 ramp

primary
#D2CB58
secondary
#3E4291
accent
#50E147
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D2CB58

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

Preview Lab → · Contrast checker → · Palette generator →

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