#D2C43F#D2C43F

#D2C43F is a light, vivid yellow. Relative luminance 0.535; OKLCH L 80.9% C 0.149 H 103.2°. Best body text is #000000 at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#D2C43F
RGBrgb(210, 196, 63)
HSLhsl(54, 62%, 54%)
HSVhsv(54, 70%, 82%)
CMYKcmyk(0%, 6.7%, 70%, 17.6%)
CIE-LABlab(78.19, -10.01, 65.07)
CIE-LCHlch(78.19, 65.84, 98.75°)
OKLaboklab(80.86% -0.034 0.1448)
OKLCHoklch(80.86% 0.149 103.2)
XYZxyz(47.2175, 53.5423, 12.5492)
Luminance0.5354 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C43F #3F4DD2
analogous
#D27A3F #D2C43F #96D23F
triadic
#D2C43F #3FD2C4 #C43FD2
tetradic
#D2C43F #3FD27A #3F4DD2 #D23F96
square
#D2C43F #3FD27A #3F4DD2 #D23F96
split-complementary
#D2C43F #3F96D2 #7A3FD2
monochromatic
#7A711D #AC9F28 #D2C43F #DED371 #E9E2A2

Accessibility & contrast

On white

1.79
#D2C43F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.71
#D2C43F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C43F
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C43F#FFFFFF#000000##000000
##D2C43F1.001.7911.7111.71
#FFFFFF1.791.0021.0021.00
#00000011.7121.001.001.00
##00000011.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE2A
Deuteranopia (green-blind)
#DAC448
Tritanopia (blue-blind)
#E2B6AA
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d2c43f;
/* rgb */ color: rgb(210, 196, 63);
/* oklch */ color: oklch(80.9% 0.149 103.2);
Tailwind
colors: {
  custom: {
    50: '#e3d57c',
    500: '#d2c43f',
    950: '#000000',
  },
}
SCSS
$custom: #d2c43f;
$custom-light: #e3d57c;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c43f",
  "rgb": {
    "r": 210,
    "g": 196,
    "b": 63
  },
  "hsl": {
    "h": 54.286,
    "s": 62.025,
    "l": 53.529
  },
  "oklch": {
    "l": 0.80859,
    "c": 0.14872,
    "h": 103.2
  },
  "luminance": 0.5354
}

Semantic roles & 50–950 ramp

primary
#D2C43F
secondary
#333B82
accent
#52E543
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #D2C43F

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

Preview Lab → · Contrast checker → · Palette generator →

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