#D2C23E#D2C23E

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

Color values

HEX#D2C23E
RGBrgb(210, 194, 62)
HSLhsl(54, 62%, 53%)
HSVhsv(54, 70%, 82%)
CMYKcmyk(0%, 7.6%, 70.5%, 17.6%)
CIE-LABlab(77.66, -9.04, 64.92)
CIE-LCHlch(77.66, 65.55, 97.93°)
OKLaboklab(80.43% -0.0314 0.1443)
OKLCHoklch(80.43% 0.148 102.3)
XYZxyz(46.7417, 52.6350, 12.2540)
Luminance0.5263 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C23E #3E4ED2
analogous
#D2783E #D2C23E #98D23E
triadic
#D2C23E #3ED2C2 #C23ED2
tetradic
#D2C23E #3ED278 #3E4ED2 #D23E98
square
#D2C23E #3ED278 #3E4ED2 #D23E98
split-complementary
#D2C23E #3E98D2 #783ED2
monochromatic
#796F1C #AB9D28 #D2C23E #DED270 #E9E1A1

Accessibility & contrast

On white

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

On black

11.53
#D2C23E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C23E
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C23E#FFFFFF#000000##000000
##D2C23E1.001.8211.5311.53
#FFFFFF1.821.0021.0021.00
#00000011.5321.001.001.00
##00000011.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC29
Deuteranopia (green-blind)
#D8C347
Tritanopia (blue-blind)
#E2B4A8
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d2c23e;
/* rgb */ color: rgb(210, 194, 62);
/* oklch */ color: oklch(80.4% 0.148 102.3);
Tailwind
colors: {
  custom: {
    50: '#e3d47b',
    500: '#d2c23e',
    950: '#000000',
  },
}
SCSS
$custom: #d2c23e;
$custom-light: #e3d47b;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c23e",
  "rgb": {
    "r": 210,
    "g": 194,
    "b": 62
  },
  "hsl": {
    "h": 53.514,
    "s": 62.185,
    "l": 53.333
  },
  "oklch": {
    "l": 0.80432,
    "c": 0.14765,
    "h": 102.3
  },
  "luminance": 0.52633
}

Semantic roles & 50–950 ramp

primary
#D2C23E
secondary
#333B81
accent
#54E543
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D2C23E

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

Preview Lab → · Contrast checker → · Palette generator →

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