#D4D23B#D4D23B

#D4D23B is a very light, vivid yellow. Relative luminance 0.604; OKLCH L 84.0% C 0.164 H 108.7°. Best body text is #000000 at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#D4D23B
RGBrgb(212, 210, 59)
HSLhsl(59, 64%, 53%)
HSVhsv(59, 72%, 83%)
CMYKcmyk(0%, 0.9%, 72.2%, 16.9%)
CIE-LABlab(82.06, -16.40, 70.31)
CIE-LCHlch(82.06, 72.19, 103.13°)
OKLaboklab(83.97% -0.0525 0.1551)
OKLCHoklch(83.97% 0.164 108.7)
XYZxyz(50.9893, 60.4076, 13.1107)
Luminance0.6041 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D23B #3B3DD4
analogous
#D4863B #D4D23B #89D43B
triadic
#D4D23B #3BD4D2 #D23BD4
tetradic
#D4D23B #3BD486 #3B3DD4 #D43B89
square
#D4D23B #3BD486 #3B3DD4 #D43B89
split-complementary
#D4D23B #3B89D4 #863BD4
monochromatic
#7A791B #ACAA26 #D4D23B #DFDE6D #EAE99F

Accessibility & contrast

On white

1.61
#D4D23B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.08
#D4D23B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4D23B
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4D23B#FFFFFF#000000##000000
##D4D23B1.001.6113.0813.08
#FFFFFF1.611.0021.0021.00
#00000013.0821.001.001.00
##00000013.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3C91D
Deuteranopia (green-blind)
#E5CE47
Tritanopia (blue-blind)
#E3C4B5
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d4d23b;
/* rgb */ color: rgb(212, 210, 59);
/* oklch */ color: oklch(84.0% 0.164 108.7);
Tailwind
colors: {
  custom: {
    50: '#e5df7c',
    500: '#d4d23b',
    950: '#000000',
  },
}
SCSS
$custom: #d4d23b;
$custom-light: #e5df7c;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d23b",
  "rgb": {
    "r": 212,
    "g": 210,
    "b": 59
  },
  "hsl": {
    "h": 59.216,
    "s": 64.017,
    "l": 53.137
  },
  "oklch": {
    "l": 0.83971,
    "c": 0.1637,
    "h": 108.7
  },
  "luminance": 0.60406
}

Semantic roles & 50–950 ramp

primary
#D4D23B
secondary
#313282
accent
#43E741
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150A
muted
#85847D

Preview Lab

Preview with #D4D23B

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

Preview Lab → · Contrast checker → · Palette generator →

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