#D4C323#D4C323

#D4C323 is a light, vivid yellow. Relative luminance 0.531; OKLCH L 80.7% C 0.162 H 102.7°. Best body text is #000000 at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#D4C323
RGBrgb(212, 195, 35)
HSLhsl(54, 72%, 48%)
HSVhsv(54, 83%, 83%)
CMYKcmyk(0%, 8%, 83.5%, 16.9%)
CIE-LABlab(77.96, -9.71, 73.69)
CIE-LCHlch(77.96, 74.33, 97.50°)
OKLaboklab(80.67% -0.0357 0.158)
OKLCHoklch(80.67% 0.162 102.7)
XYZxyz(46.9722, 53.1508, 9.3747)
Luminance0.5315 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C323 #2334D4
analogous
#D46A23 #D4C323 #8CD423
triadic
#D4C323 #23D4C3 #C323D4
tetradic
#D4C323 #23D46A #2334D4 #D4238C
square
#D4C323 #23D46A #2334D4 #D4238C
split-complementary
#D4C323 #238CD4 #6A23D4
monochromatic
#6B6212 #9F931A #D4C323 #E2D552 #EBE186

Accessibility & contrast

On white

1.81
#D4C323 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.63
#D4C323 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C323
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C323#FFFFFF#000000##000000
##D4C3231.001.8111.6311.63
#FFFFFF1.811.0021.0021.00
#00000011.6321.001.001.00
##00000011.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BD00
Deuteranopia (green-blind)
#DBC432
Tritanopia (blue-blind)
#E5B4A7
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d4c323;
/* rgb */ color: rgb(212, 195, 35);
/* oklch */ color: oklch(80.7% 0.162 102.7);
Tailwind
colors: {
  custom: {
    50: '#e6d46f',
    500: '#d4c323',
    950: '#000000',
  },
}
SCSS
$custom: #d4c323;
$custom-light: #e6d46f;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c323",
  "rgb": {
    "r": 212,
    "g": 195,
    "b": 35
  },
  "hsl": {
    "h": 54.237,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.80673,
    "c": 0.16194,
    "h": 102.7
  },
  "luminance": 0.53149
}

Semantic roles & 50–950 ramp

primary
#D4C323
secondary
#272E75
accent
#4BEE39
background
#FFFEFB
surface
#FEFBF1
border
#D6D4CB
text
#171408
muted
#85837D

Preview Lab

Preview with #D4C323

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

Preview Lab → · Contrast checker → · Palette generator →

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