#D2C33C#D2C33C

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

Color values

HEX#D2C33C
RGBrgb(210, 195, 60)
HSLhsl(54, 63%, 53%)
HSVhsv(54, 71%, 82%)
CMYKcmyk(0%, 7.1%, 71.4%, 17.6%)
CIE-LABlab(77.91, -9.65, 65.91)
CIE-LCHlch(77.91, 66.61, 98.33°)
OKLaboklab(80.63% -0.0333 0.146)
OKLCHoklch(80.63% 0.15 102.8)
XYZxyz(46.9111, 53.0601, 12.0447)
Luminance0.5306 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C33C #3C4BD2
analogous
#D2783C #D2C33C #96D23C
triadic
#D2C33C #3CD2C3 #C33CD2
tetradic
#D2C33C #3CD278 #3C4BD2 #D23C96
square
#D2C33C #3CD278 #3C4BD2 #D23C96
split-complementary
#D2C33C #3C96D2 #783CD2
monochromatic
#786F1C #AA9D27 #D2C33C #DDD26E #E9E29F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2C33C#FFFFFF#000000##000000
##D2C33C1.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)
#D5BD25
Deuteranopia (green-blind)
#D9C445
Tritanopia (blue-blind)
#E2B5A8
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d2c33c;
/* rgb */ color: rgb(210, 195, 60);
/* oklch */ color: oklch(80.6% 0.150 102.8);
Tailwind
colors: {
  custom: {
    50: '#e4d47a',
    500: '#d2c33c',
    950: '#000000',
  },
}
SCSS
$custom: #d2c33c;
$custom-light: #e4d47a;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c33c",
  "rgb": {
    "r": 210,
    "g": 195,
    "b": 60
  },
  "hsl": {
    "h": 54,
    "s": 62.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.80628,
    "c": 0.14976,
    "h": 102.8
  },
  "luminance": 0.53058
}

Semantic roles & 50–950 ramp

primary
#D2C33C
secondary
#323A80
accent
#53E642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D2C33C

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

Preview Lab → · Contrast checker → · Palette generator →

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