#D2C03A#D2C03A

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

Color values

HEX#D2C03A
RGBrgb(210, 192, 58)
HSLhsl(53, 63%, 53%)
HSVhsv(53, 72%, 82%)
CMYKcmyk(0%, 8.6%, 72.4%, 17.6%)
CIE-LABlab(77.11, -8.21, 65.85)
CIE-LCHlch(77.11, 66.36, 97.10°)
OKLaboklab(79.99% -0.0294 0.1455)
OKLCHoklch(79.99% 0.148 101.4)
XYZxyz(46.1938, 51.7085, 11.5497)
Luminance0.5171 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C03A #3A4CD2
analogous
#D2743A #D2C03A #98D23A
triadic
#D2C03A #3AD2C0 #C03AD2
tetradic
#D2C03A #3AD274 #3A4CD2 #D23A98
square
#D2C03A #3AD274 #3A4CD2 #D23A98
split-complementary
#D2C03A #3A98D2 #743AD2
monochromatic
#776C1B #A89926 #D2C03A #DDD06C #E9E09E

Accessibility & contrast

On white

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

On black

11.34
#D2C03A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C03A
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C03A#FFFFFF#000000##000000
##D2C03A1.001.8511.3411.34
#FFFFFF1.851.0021.0021.00
#00000011.3421.001.001.00
##00000011.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2c03a;
/* rgb */ color: rgb(210, 192, 58);
/* oklch */ color: oklch(80.0% 0.148 101.4);
Tailwind
colors: {
  custom: {
    50: '#e4d279',
    500: '#d2c03a',
    950: '#000000',
  },
}
SCSS
$custom: #d2c03a;
$custom-light: #e4d279;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c03a",
  "rgb": {
    "r": 210,
    "g": 192,
    "b": 58
  },
  "hsl": {
    "h": 52.895,
    "s": 62.81,
    "l": 52.549
  },
  "oklch": {
    "l": 0.79985,
    "c": 0.14848,
    "h": 101.4
  },
  "luminance": 0.51706
}

Semantic roles & 50–950 ramp

primary
#D2C03A
secondary
#313B7F
accent
#55E642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D2C03A

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

Preview Lab → · Contrast checker → · Palette generator →

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