#D2C23C#D2C23C

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

Color values

HEX#D2C23C
RGBrgb(210, 194, 60)
HSLhsl(54, 63%, 53%)
HSVhsv(54, 71%, 82%)
CMYKcmyk(0%, 7.6%, 71.4%, 17.6%)
CIE-LABlab(77.65, -9.14, 65.65)
CIE-LCHlch(77.65, 66.28, 97.92°)
OKLaboklab(80.42% -0.0318 0.1455)
OKLCHoklch(80.42% 0.149 102.3)
XYZxyz(46.6878, 52.6135, 11.9703)
Luminance0.5261 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C23C #3C4CD2
analogous
#D2773C #D2C23C #97D23C
triadic
#D2C23C #3CD2C2 #C23CD2
tetradic
#D2C23C #3CD277 #3C4CD2 #D23C97
square
#D2C23C #3CD277 #3C4CD2 #D23C97
split-complementary
#D2C23C #3C97D2 #773CD2
monochromatic
#786E1C #AA9C27 #D2C23C #DDD26E #E9E19F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2C23C#FFFFFF#000000##000000
##D2C23C1.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)
#D4BC26
Deuteranopia (green-blind)
#D9C345
Tritanopia (blue-blind)
#E2B4A8
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d2c23c;
/* rgb */ color: rgb(210, 194, 60);
/* oklch */ color: oklch(80.4% 0.149 102.3);
Tailwind
colors: {
  custom: {
    50: '#e4d47a',
    500: '#d2c23c',
    950: '#000000',
  },
}
SCSS
$custom: #d2c23c;
$custom-light: #e4d47a;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c23c",
  "rgb": {
    "r": 210,
    "g": 194,
    "b": 60
  },
  "hsl": {
    "h": 53.6,
    "s": 62.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.80418,
    "c": 0.14891,
    "h": 102.3
  },
  "luminance": 0.52611
}

Semantic roles & 50–950 ramp

primary
#D2C23C
secondary
#323A80
accent
#54E642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D2C23C

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

Preview Lab → · Contrast checker → · Palette generator →

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