#D4D53E#D4D53E

#D4D53E is a very light, vivid yellow. Relative luminance 0.619; OKLCH L 84.6% C 0.165 H 109.8°. Best body text is #000000 at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#D4D53E
RGBrgb(212, 213, 62)
HSLhsl(60, 64%, 54%)
HSVhsv(60, 71%, 84%)
CMYKcmyk(0.5%, 0%, 70.9%, 16.5%)
CIE-LABlab(82.88, -17.74, 70.06)
CIE-LCHlch(82.88, 72.27, 104.21°)
OKLaboklab(84.63% -0.056 0.1551)
OKLCHoklch(84.63% 0.165 109.8)
XYZxyz(51.8170, 61.9348, 13.7816)
Luminance0.6193 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D53E #3F3ED5
analogous
#D58B3E #D4D53E #89D53E
triadic
#D4D53E #3ED4D5 #D53ED4
tetradic
#D4D53E #3ED58B #3F3ED5 #D53E89
square
#D4D53E #3ED58B #3F3ED5 #D53E89
split-complementary
#D4D53E #3E89D5 #8B3ED5
monochromatic
#7D7D1B #AFB026 #D4D53E #DFE070 #EAEBA3

Accessibility & contrast

On white

1.57
#D4D53E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.39
#D4D53E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4D53E
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4D53E#FFFFFF#000000##000000
##D4D53E1.001.5713.3913.39
#FFFFFF1.571.0021.0021.00
#00000013.3921.001.001.00
##00000013.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CC22
Deuteranopia (green-blind)
#E8D049
Tritanopia (blue-blind)
#E3C8B8
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d4d53e;
/* rgb */ color: rgb(212, 213, 62);
/* oklch */ color: oklch(84.6% 0.165 109.8);
Tailwind
colors: {
  custom: {
    50: '#e5e17d',
    500: '#d4d53e',
    950: '#000000',
  },
}
SCSS
$custom: #d4d53e;
$custom-light: #e5e17d;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d53e",
  "rgb": {
    "r": 212,
    "g": 213,
    "b": 62
  },
  "hsl": {
    "h": 60.397,
    "s": 64.255,
    "l": 53.922
  },
  "oklch": {
    "l": 0.84631,
    "c": 0.16487,
    "h": 109.8
  },
  "luminance": 0.61933
}

Semantic roles & 50–950 ramp

primary
#D4D53E
secondary
#333285
accent
#41E742
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150A
muted
#85847D

Preview Lab

Preview with #D4D53E

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

Preview Lab → · Contrast checker → · Palette generator →

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