#D2C23A#D2C23A

#D2C23A is a light, vivid yellow. Relative luminance 0.526; OKLCH L 80.4% C 0.150 H 102.4°. Best body text is #000000 at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#D2C23A
RGBrgb(210, 194, 58)
HSLhsl(54, 63%, 53%)
HSVhsv(54, 72%, 82%)
CMYKcmyk(0%, 7.6%, 72.4%, 17.6%)
CIE-LABlab(77.63, -9.23, 66.36)
CIE-LCHlch(77.63, 67.00, 97.92°)
OKLaboklab(80.4% -0.0323 0.1466)
OKLCHoklch(80.4% 0.15 102.4)
XYZxyz(46.6359, 52.5927, 11.6971)
Luminance0.5259 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C23A #3A4AD2
analogous
#D2763A #D2C23A #96D23A
triadic
#D2C23A #3AD2C2 #C23AD2
tetradic
#D2C23A #3AD276 #3A4AD2 #D23A96
square
#D2C23A #3AD276 #3A4AD2 #D23A96
split-complementary
#D2C23A #3A96D2 #763AD2
monochromatic
#776D1B #A89B26 #D2C23A #DDD16C #E9E19E

Accessibility & contrast

On white

1.82
#D2C23A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.52
#D2C23A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C23A
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C23A#FFFFFF#000000##000000
##D2C23A1.001.8211.5211.52
#FFFFFF1.821.0021.0021.00
#00000011.5221.001.001.00
##00000011.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC22
Deuteranopia (green-blind)
#D9C343
Tritanopia (blue-blind)
#E2B4A7
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d2c23a;
/* rgb */ color: rgb(210, 194, 58);
/* oklch */ color: oklch(80.4% 0.150 102.4);
Tailwind
colors: {
  custom: {
    50: '#e4d479',
    500: '#d2c23a',
    950: '#000000',
  },
}
SCSS
$custom: #d2c23a;
$custom-light: #e4d479;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c23a",
  "rgb": {
    "r": 210,
    "g": 194,
    "b": 58
  },
  "hsl": {
    "h": 53.684,
    "s": 62.81,
    "l": 52.549
  },
  "oklch": {
    "l": 0.80404,
    "c": 0.15013,
    "h": 102.4
  },
  "luminance": 0.52591
}

Semantic roles & 50–950 ramp

primary
#D2C23A
secondary
#313A7F
accent
#53E642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D2C23A

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

Preview Lab → · Contrast checker → · Palette generator →

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