#D2CB57#D2CB57

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

Color values

HEX#D2CB57
RGBrgb(210, 203, 87)
HSLhsl(57, 58%, 58%)
HSVhsv(57, 59%, 82%)
CMYKcmyk(0%, 3.3%, 58.6%, 17.6%)
CIE-LABlab(80.24, -12.12, 57.35)
CIE-LCHlch(80.24, 58.62, 101.93°)
OKLaboklab(82.55% -0.0374 0.1321)
OKLCHoklch(82.55% 0.137 105.8)
XYZxyz(49.6562, 57.1032, 17.4213)
Luminance0.5710 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CB57 #575ED2
analogous
#D28D57 #D2CB57 #9BD257
triadic
#D2CB57 #57D2CB #CB57D2
tetradic
#D2CB57 #57D28D #575ED2 #D2579B
square
#D2CB57 #57D28D #575ED2 #D2579B
split-complementary
#D2CB57 #579BD2 #8D57D2
monochromatic
#8A8425 #BAB232 #D2CB57 #DFDA87 #ECE9B8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2CB57#FFFFFF#000000##000000
##D2CB571.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)
#DBC44A
Deuteranopia (green-blind)
#DEC95D
Tritanopia (blue-blind)
#E0BFB2
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d2cb57;
/* rgb */ color: rgb(210, 203, 87);
/* oklch */ color: oklch(82.5% 0.137 105.8);
Tailwind
colors: {
  custom: {
    50: '#e2da8b',
    500: '#d2cb57',
    950: '#000000',
  },
}
SCSS
$custom: #d2cb57;
$custom-light: #e2da8b;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cb57",
  "rgb": {
    "r": 210,
    "g": 203,
    "b": 87
  },
  "hsl": {
    "h": 56.585,
    "s": 57.746,
    "l": 58.235
  },
  "oklch": {
    "l": 0.82545,
    "c": 0.13726,
    "h": 105.8
  },
  "luminance": 0.57102
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2CB57

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

Preview Lab → · Contrast checker → · Palette generator →

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