#D2C03E#D2C03E

#D2C03E is a light, vivid yellow. Relative luminance 0.517; OKLCH L 80.0% C 0.146 H 101.2°. Best body text is #000000 at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#D2C03E
RGBrgb(210, 192, 62)
HSLhsl(53, 62%, 53%)
HSVhsv(53, 70%, 82%)
CMYKcmyk(0%, 8.6%, 70.5%, 17.6%)
CIE-LABlab(77.13, -8.02, 64.40)
CIE-LCHlch(77.13, 64.90, 97.09°)
OKLaboklab(80.01% -0.0285 0.1432)
OKLCHoklch(80.01% 0.146 101.2)
XYZxyz(46.2996, 51.7508, 12.1066)
Luminance0.5175 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C03E #3E50D2
analogous
#D2763E #D2C03E #9AD23E
triadic
#D2C03E #3ED2C0 #C03ED2
tetradic
#D2C03E #3ED276 #3E50D2 #D23E9A
square
#D2C03E #3ED276 #3E50D2 #D23E9A
split-complementary
#D2C03E #3E9AD2 #763ED2
monochromatic
#796E1C #AB9B28 #D2C03E #DED070 #E9E0A1

Accessibility & contrast

On white

1.85
#D2C03E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.35
#D2C03E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C03E
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C03E#FFFFFF#000000##000000
##D2C03E1.001.8511.3511.35
#FFFFFF1.851.0021.0021.00
#00000011.3521.001.001.00
##00000011.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA2A
Deuteranopia (green-blind)
#D7C246
Tritanopia (blue-blind)
#E2B2A6
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d2c03e;
/* rgb */ color: rgb(210, 192, 62);
/* oklch */ color: oklch(80.0% 0.146 101.2);
Tailwind
colors: {
  custom: {
    50: '#e4d27b',
    500: '#d2c03e',
    950: '#000000',
  },
}
SCSS
$custom: #d2c03e;
$custom-light: #e4d27b;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c03e",
  "rgb": {
    "r": 210,
    "g": 192,
    "b": 62
  },
  "hsl": {
    "h": 52.703,
    "s": 62.185,
    "l": 53.333
  },
  "oklch": {
    "l": 0.80013,
    "c": 0.14598,
    "h": 101.2
  },
  "luminance": 0.51749
}

Semantic roles & 50–950 ramp

primary
#D2C03E
secondary
#333C81
accent
#56E543
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D2C03E

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

Preview Lab → · Contrast checker → · Palette generator →

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