#D4C623#D4C623

#D4C623 is a light, vivid yellow. Relative luminance 0.545; OKLCH L 81.3% C 0.164 H 104.1°. Best body text is #000000 at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#D4C623
RGBrgb(212, 198, 35)
HSLhsl(55, 72%, 48%)
HSVhsv(55, 83%, 83%)
CMYKcmyk(0%, 6.6%, 83.5%, 16.9%)
CIE-LABlab(78.76, -11.23, 74.36)
CIE-LCHlch(78.76, 75.20, 98.59°)
OKLaboklab(81.3% -0.0399 0.1594)
OKLCHoklch(81.3% 0.164 104.1)
XYZxyz(47.6511, 54.5086, 9.6010)
Luminance0.5451 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C623 #2331D4
analogous
#D46D23 #D4C623 #89D423
triadic
#D4C623 #23D4C6 #C623D4
tetradic
#D4C623 #23D46D #2331D4 #D42389
square
#D4C623 #23D46D #2331D4 #D42389
split-complementary
#D4C623 #2389D4 #6D23D4
monochromatic
#6B6412 #9F951A #D4C623 #E2D752 #EBE386

Accessibility & contrast

On white

1.76
#D4C623 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.90
#D4C623 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C623
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C623#FFFFFF#000000##000000
##D4C6231.001.7611.9011.90
#FFFFFF1.761.0021.0021.00
#00000011.9021.001.001.00
##00000011.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9BF00
Deuteranopia (green-blind)
#DDC633
Tritanopia (blue-blind)
#E5B8A9
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d4c623;
/* rgb */ color: rgb(212, 198, 35);
/* oklch */ color: oklch(81.3% 0.164 104.1);
Tailwind
colors: {
  custom: {
    50: '#e6d670',
    500: '#d4c623',
    950: '#000000',
  },
}
SCSS
$custom: #d4c623;
$custom-light: #e6d670;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c623",
  "rgb": {
    "r": 212,
    "g": 198,
    "b": 35
  },
  "hsl": {
    "h": 55.254,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.81304,
    "c": 0.16434,
    "h": 104.1
  },
  "luminance": 0.54507
}

Semantic roles & 50–950 ramp

primary
#D4C623
secondary
#272D75
accent
#48EE39
background
#FFFEFB
surface
#FEFBF1
border
#D6D4CB
text
#171408
muted
#85837D

Preview Lab

Preview with #D4C623

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

Preview Lab → · Contrast checker → · Palette generator →

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