#D2C23F#D2C23F

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

Color values

HEX#D2C23F
RGBrgb(210, 194, 63)
HSLhsl(53, 62%, 54%)
HSVhsv(53, 70%, 82%)
CMYKcmyk(0%, 7.6%, 70%, 17.6%)
CIE-LABlab(77.67, -8.99, 64.55)
CIE-LCHlch(77.67, 65.17, 97.93°)
OKLaboklab(80.44% -0.0311 0.1437)
OKLCHoklch(80.44% 0.147 102.2)
XYZxyz(46.7694, 52.6461, 12.3998)
Luminance0.5264 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C23F #3F4FD2
analogous
#D2783F #D2C23F #98D23F
triadic
#D2C23F #3FD2C2 #C23FD2
tetradic
#D2C23F #3FD278 #3F4FD2 #D23F98
square
#D2C23F #3FD278 #3F4FD2 #D23F98
split-complementary
#D2C23F #3F98D2 #783FD2
monochromatic
#7A701D #AC9D28 #D2C23F #DED271 #E9E2A2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2C23F#FFFFFF#000000##000000
##D2C23F1.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)
#D4BC2B
Deuteranopia (green-blind)
#D8C347
Tritanopia (blue-blind)
#E2B4A8
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d2c23f;
/* rgb */ color: rgb(210, 194, 63);
/* oklch */ color: oklch(80.4% 0.147 102.2);
Tailwind
colors: {
  custom: {
    50: '#e3d47c',
    500: '#d2c23f',
    950: '#000000',
  },
}
SCSS
$custom: #d2c23f;
$custom-light: #e3d47c;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c23f",
  "rgb": {
    "r": 210,
    "g": 194,
    "b": 63
  },
  "hsl": {
    "h": 53.469,
    "s": 62.025,
    "l": 53.529
  },
  "oklch": {
    "l": 0.80439,
    "c": 0.147,
    "h": 102.2
  },
  "luminance": 0.52644
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2C23F

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

Preview Lab → · Contrast checker → · Palette generator →

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