#D5D43F#D5D43F

#D5D43F is a very light, vivid yellow. Relative luminance 0.616; OKLCH L 84.5% C 0.163 H 109.0°. Best body text is #000000 at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#D5D43F
RGBrgb(213, 212, 63)
HSLhsl(60, 64%, 54%)
HSVhsv(60, 70%, 84%)
CMYKcmyk(0%, 0.5%, 70.4%, 16.5%)
CIE-LABlab(82.70, -16.79, 69.57)
CIE-LCHlch(82.70, 71.56, 103.57°)
OKLaboklab(84.51% -0.0532 0.1542)
OKLCHoklch(84.51% 0.163 109)
XYZxyz(51.8831, 61.5936, 13.8574)
Luminance0.6159 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D43F #3F40D5
analogous
#D5893F #D5D43F #8BD53F
triadic
#D5D43F #3FD5D4 #D43FD5
tetradic
#D5D43F #3FD589 #3F40D5 #D53F8B
square
#D5D43F #3FD589 #3F40D5 #D53F8B
split-complementary
#D5D43F #3F8BD5 #893FD5
monochromatic
#7E7D1C #B0AF27 #D5D43F #E0DF71 #EBEAA3

Accessibility & contrast

On white

1.58
#D5D43F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.32
#D5D43F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D43F
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D43F#FFFFFF#000000##000000
##D5D43F1.001.5813.3213.32
#FFFFFF1.581.0021.0021.00
#00000013.3221.001.001.00
##00000013.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CB24
Deuteranopia (green-blind)
#E7D04A
Tritanopia (blue-blind)
#E4C7B7
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d5d43f;
/* rgb */ color: rgb(213, 212, 63);
/* oklch */ color: oklch(84.5% 0.163 109.0);
Tailwind
colors: {
  custom: {
    50: '#e6e07e',
    500: '#d5d43f',
    950: '#000000',
  },
}
SCSS
$custom: #d5d43f;
$custom-light: #e6e07e;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d43f",
  "rgb": {
    "r": 213,
    "g": 212,
    "b": 63
  },
  "hsl": {
    "h": 59.6,
    "s": 64.103,
    "l": 54.118
  },
  "oklch": {
    "l": 0.84507,
    "c": 0.1631,
    "h": 109
  },
  "luminance": 0.61592
}

Semantic roles & 50–950 ramp

primary
#D5D43F
secondary
#333385
accent
#42E741
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D5D43F

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

Preview Lab → · Contrast checker → · Palette generator →

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