#D2C33F#D2C33F

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

Color values

HEX#D2C33F
RGBrgb(210, 195, 63)
HSLhsl(54, 62%, 54%)
HSVhsv(54, 70%, 82%)
CMYKcmyk(0%, 7.1%, 70%, 17.6%)
CIE-LABlab(77.93, -9.50, 64.81)
CIE-LCHlch(77.93, 65.50, 98.34°)
OKLaboklab(80.65% -0.0326 0.1442)
OKLCHoklch(80.65% 0.148 102.7)
XYZxyz(46.9927, 53.0927, 12.4743)
Luminance0.5309 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C33F #3F4ED2
analogous
#D2793F #D2C33F #97D23F
triadic
#D2C33F #3FD2C3 #C33FD2
tetradic
#D2C33F #3FD279 #3F4ED2 #D23F97
square
#D2C33F #3FD279 #3F4ED2 #D23F97
split-complementary
#D2C33F #3F97D2 #793FD2
monochromatic
#7A701D #AC9E28 #D2C33F #DED271 #E9E2A2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2C33F#FFFFFF#000000##000000
##D2C33F1.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)
#D5BD2A
Deuteranopia (green-blind)
#D9C448
Tritanopia (blue-blind)
#E2B5A9
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d2c33f;
/* rgb */ color: rgb(210, 195, 63);
/* oklch */ color: oklch(80.6% 0.148 102.7);
Tailwind
colors: {
  custom: {
    50: '#e3d47c',
    500: '#d2c33f',
    950: '#000000',
  },
}
SCSS
$custom: #d2c33f;
$custom-light: #e3d47c;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c33f",
  "rgb": {
    "r": 210,
    "g": 195,
    "b": 63
  },
  "hsl": {
    "h": 53.878,
    "s": 62.025,
    "l": 53.529
  },
  "oklch": {
    "l": 0.80649,
    "c": 0.14786,
    "h": 102.7
  },
  "luminance": 0.53091
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2C33F

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

Preview Lab → · Contrast checker → · Palette generator →

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