#D5D23F#D5D23F

#D5D23F is a very light, vivid yellow. Relative luminance 0.606; OKLCH L 84.1% C 0.161 H 108.2°. Best body text is #000000 at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#D5D23F
RGBrgb(213, 210, 63)
HSLhsl(59, 64%, 54%)
HSVhsv(59, 70%, 84%)
CMYKcmyk(0%, 1.4%, 70.4%, 16.5%)
CIE-LABlab(82.16, -15.79, 69.05)
CIE-LCHlch(82.16, 70.83, 102.88°)
OKLaboklab(84.08% -0.0504 0.1531)
OKLCHoklch(84.08% 0.161 108.2)
XYZxyz(51.3863, 60.5998, 13.6918)
Luminance0.6060 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D23F #3F42D5
analogous
#D5873F #D5D23F #8DD53F
triadic
#D5D23F #3FD5D2 #D23FD5
tetradic
#D5D23F #3FD587 #3F42D5 #D53F8D
square
#D5D23F #3FD587 #3F42D5 #D53F8D
split-complementary
#D5D23F #3F8DD5 #873FD5
monochromatic
#7E7C1C #B0AD27 #D5D23F #E0DE71 #EBEAA3

Accessibility & contrast

On white

1.60
#D5D23F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.12
#D5D23F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D23F
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D23F#FFFFFF#000000##000000
##D5D23F1.001.6013.1213.12
#FFFFFF1.601.0021.0021.00
#00000013.1221.001.001.00
##00000013.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CA25
Deuteranopia (green-blind)
#E6CF4A
Tritanopia (blue-blind)
#E4C4B5
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d5d23f;
/* rgb */ color: rgb(213, 210, 63);
/* oklch */ color: oklch(84.1% 0.161 108.2);
Tailwind
colors: {
  custom: {
    50: '#e6df7e',
    500: '#d5d23f',
    950: '#000000',
  },
}
SCSS
$custom: #d5d23f;
$custom-light: #e6df7e;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d23f",
  "rgb": {
    "r": 213,
    "g": 210,
    "b": 63
  },
  "hsl": {
    "h": 58.8,
    "s": 64.103,
    "l": 54.118
  },
  "oklch": {
    "l": 0.84081,
    "c": 0.16118,
    "h": 108.2
  },
  "luminance": 0.60598
}

Semantic roles & 50–950 ramp

primary
#D5D23F
secondary
#333485
accent
#44E741
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150A
muted
#85847D

Preview Lab

Preview with #D5D23F

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

Preview Lab → · Contrast checker → · Palette generator →

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