#D2C33A#D2C33A

#D2C33A is a light, vivid yellow. Relative luminance 0.530; OKLCH L 80.6% C 0.151 H 102.9°. Best body text is #000000 at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#D2C33A
RGBrgb(210, 195, 58)
HSLhsl(54, 63%, 53%)
HSVhsv(54, 72%, 82%)
CMYKcmyk(0%, 7.1%, 72.4%, 17.6%)
CIE-LABlab(77.90, -9.74, 66.62)
CIE-LCHlch(77.90, 67.33, 98.32°)
OKLaboklab(80.61% -0.0337 0.1472)
OKLCHoklch(80.61% 0.151 102.9)
XYZxyz(46.8592, 53.0393, 11.7715)
Luminance0.5304 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C33A #3A49D2
analogous
#D2773A #D2C33A #95D23A
triadic
#D2C33A #3AD2C3 #C33AD2
tetradic
#D2C33A #3AD277 #3A49D2 #D23A95
square
#D2C33A #3AD277 #3A49D2 #D23A95
split-complementary
#D2C33A #3A95D2 #773AD2
monochromatic
#776E1B #A89C26 #D2C33A #DDD26C #E9E19E

Accessibility & contrast

On white

1.81
#D2C33A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.61
#D2C33A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C33A
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C33A#FFFFFF#000000##000000
##D2C33A1.001.8111.6111.61
#FFFFFF1.811.0021.0021.00
#00000011.6121.001.001.00
##00000011.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD22
Deuteranopia (green-blind)
#D9C443
Tritanopia (blue-blind)
#E2B5A8
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d2c33a;
/* rgb */ color: rgb(210, 195, 58);
/* oklch */ color: oklch(80.6% 0.151 102.9);
Tailwind
colors: {
  custom: {
    50: '#e4d479',
    500: '#d2c33a',
    950: '#000000',
  },
}
SCSS
$custom: #d2c33a;
$custom-light: #e4d479;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c33a",
  "rgb": {
    "r": 210,
    "g": 195,
    "b": 58
  },
  "hsl": {
    "h": 54.079,
    "s": 62.81,
    "l": 52.549
  },
  "oklch": {
    "l": 0.80614,
    "c": 0.15097,
    "h": 102.9
  },
  "luminance": 0.53037
}

Semantic roles & 50–950 ramp

primary
#D2C33A
secondary
#31397F
accent
#52E642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D2C33A

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

Preview Lab → · Contrast checker → · Palette generator →

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