#D2CB45#D2CB45

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

Color values

HEX#D2CB45
RGBrgb(210, 203, 69)
HSLhsl(57, 61%, 55%)
HSVhsv(57, 67%, 82%)
CMYKcmyk(0%, 3.3%, 67.1%, 17.6%)
CIE-LABlab(80.09, -13.24, 64.68)
CIE-LCHlch(80.09, 66.03, 101.57°)
OKLaboklab(82.38% -0.0425 0.145)
OKLCHoklch(82.38% 0.151 106.3)
XYZxyz(49.0103, 56.8449, 14.0196)
Luminance0.5684 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CB45 #454CD2
analogous
#D28445 #D2CB45 #93D245
triadic
#D2CB45 #45D2CB #CB45D2
tetradic
#D2CB45 #45D284 #454CD2 #D24593
square
#D2CB45 #45D284 #454CD2 #D24593
split-complementary
#D2CB45 #4593D2 #8445D2
monochromatic
#7E791F #AFA92A #D2CB45 #DED976 #EAE7A8

Accessibility & contrast

On white

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

On black

12.37
#D2CB45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CB45
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CB45#FFFFFF#000000##000000
##D2CB451.001.7012.3712.37
#FFFFFF1.701.0021.0021.00
#00000012.3721.001.001.00
##00000012.3721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2cb45;
/* rgb */ color: rgb(210, 203, 69);
/* oklch */ color: oklch(82.4% 0.151 106.3);
Tailwind
colors: {
  custom: {
    50: '#e3da80',
    500: '#d2cb45',
    950: '#000000',
  },
}
SCSS
$custom: #d2cb45;
$custom-light: #e3da80;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cb45",
  "rgb": {
    "r": 210,
    "g": 203,
    "b": 69
  },
  "hsl": {
    "h": 57.021,
    "s": 61.039,
    "l": 54.706
  },
  "oklch": {
    "l": 0.82383,
    "c": 0.15108,
    "h": 106.3
  },
  "luminance": 0.56843
}

Semantic roles & 50–950 ramp

primary
#D2CB45
secondary
#363A86
accent
#4CE444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D2CB45

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

Preview Lab → · Contrast checker → · Palette generator →

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