#D9C23F#D9C23F

#D9C23F is a light, vivid yellow. Relative luminance 0.537; OKLCH L 81.1% C 0.147 H 99.0°. Best body text is #000000 at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#D9C23F
RGBrgb(217, 194, 63)
HSLhsl(51, 67%, 55%)
HSVhsv(51, 71%, 85%)
CMYKcmyk(0%, 10.6%, 71%, 14.9%)
CIE-LABlab(78.28, -6.01, 65.37)
CIE-LCHlch(78.28, 65.64, 95.25°)
OKLaboklab(81.08% -0.0231 0.1452)
OKLCHoklch(81.08% 0.147 99)
XYZxyz(48.8066, 53.6965, 12.4953)
Luminance0.5369 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C23F #3F56D9
analogous
#D9753F #D9C23F #A3D93F
triadic
#D9C23F #3FD9C2 #C23FD9
tetradic
#D9C23F #3FD975 #3F56D9 #D93FA3
square
#D9C23F #3FD975 #3F56D9 #D93FA3
split-complementary
#D9C23F #3FA3D9 #753FD9
monochromatic
#84741A #B7A124 #D9C23F #E3D272 #EDE2A5

Accessibility & contrast

On white

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

On black

11.74
#D9C23F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C23F
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C23F#FFFFFF#000000##000000
##D9C23F1.001.7911.7411.74
#FFFFFF1.791.0021.0021.00
#00000011.7421.001.001.00
##00000011.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD2A
Deuteranopia (green-blind)
#DBC547
Tritanopia (blue-blind)
#EAB4A8
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d9c23f;
/* rgb */ color: rgb(217, 194, 63);
/* oklch */ color: oklch(81.1% 0.147 99.0);
Tailwind
colors: {
  custom: {
    50: '#e9d47c',
    500: '#d9c23f',
    950: '#000000',
  },
}
SCSS
$custom: #d9c23f;
$custom-light: #e9d47c;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c23f",
  "rgb": {
    "r": 217,
    "g": 194,
    "b": 63
  },
  "hsl": {
    "h": 51.039,
    "s": 66.957,
    "l": 54.902
  },
  "oklch": {
    "l": 0.81077,
    "c": 0.14698,
    "h": 99
  },
  "luminance": 0.53694
}

Semantic roles & 50–950 ramp

primary
#D9C23F
secondary
#323F8A
accent
#58EA3E
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #D9C23F

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

Preview Lab → · Contrast checker → · Palette generator →

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