#D2C33E#D2C33E

#D2C33E is a light, vivid yellow. Relative luminance 0.531; OKLCH L 80.6% C 0.148 H 102.8°. Best body text is #000000 at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#D2C33E
RGBrgb(210, 195, 62)
HSLhsl(54, 62%, 53%)
HSVhsv(54, 70%, 82%)
CMYKcmyk(0%, 7.1%, 70.5%, 17.6%)
CIE-LABlab(77.92, -9.55, 65.18)
CIE-LCHlch(77.92, 65.88, 98.34°)
OKLaboklab(80.64% -0.0328 0.1448)
OKLCHoklch(80.64% 0.149 102.8)
XYZxyz(46.9650, 53.0816, 12.3284)
Luminance0.5308 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C33E #3E4DD2
analogous
#D2793E #D2C33E #97D23E
triadic
#D2C33E #3ED2C3 #C33ED2
tetradic
#D2C33E #3ED279 #3E4DD2 #D23E97
square
#D2C33E #3ED279 #3E4DD2 #D23E97
split-complementary
#D2C33E #3E97D2 #793ED2
monochromatic
#79701C #AB9E28 #D2C33E #DED270 #E9E2A1

Accessibility & contrast

On white

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

On black

11.62
#D2C33E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C33E
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C33E#FFFFFF#000000##000000
##D2C33E1.001.8111.6211.62
#FFFFFF1.811.0021.0021.00
#00000011.6221.001.001.00
##00000011.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD29
Deuteranopia (green-blind)
#D9C447
Tritanopia (blue-blind)
#E2B5A9
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d2c33e;
/* rgb */ color: rgb(210, 195, 62);
/* oklch */ color: oklch(80.6% 0.148 102.8);
Tailwind
colors: {
  custom: {
    50: '#e3d47c',
    500: '#d2c33e',
    950: '#000000',
  },
}
SCSS
$custom: #d2c33e;
$custom-light: #e3d47c;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c33e",
  "rgb": {
    "r": 210,
    "g": 195,
    "b": 62
  },
  "hsl": {
    "h": 53.919,
    "s": 62.185,
    "l": 53.333
  },
  "oklch": {
    "l": 0.80642,
    "c": 0.1485,
    "h": 102.8
  },
  "luminance": 0.5308
}

Semantic roles & 50–950 ramp

primary
#D2C33E
secondary
#333B81
accent
#53E543
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D2C33E

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

Preview Lab → · Contrast checker → · Palette generator →

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