#D5CA39#D5CA39

#D5CA39 is a very light, vivid yellow. Relative luminance 0.567; OKLCH L 82.3% C 0.157 H 104.9°. Best body text is #000000 at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#D5CA39
RGBrgb(213, 202, 57)
HSLhsl(56, 65%, 53%)
HSVhsv(56, 73%, 84%)
CMYKcmyk(0%, 5.2%, 73.2%, 16.5%)
CIE-LABlab(80.00, -12.06, 69.06)
CIE-LCHlch(80.00, 70.11, 99.91°)
OKLaboklab(82.35% -0.0405 0.1521)
OKLCHoklch(82.35% 0.157 104.9)
XYZxyz(49.3017, 56.6845, 12.2143)
Luminance0.5668 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CA39 #3944D5
analogous
#D57C39 #D5CA39 #92D539
triadic
#D5CA39 #39D5CA #CA39D5
tetradic
#D5CA39 #39D57C #3944D5 #D53992
square
#D5CA39 #39D57C #3944D5 #D53992
split-complementary
#D5CA39 #3992D5 #7C39D5
monochromatic
#7A731A #ACA325 #D5CA39 #E0D86B #EAE59E

Accessibility & contrast

On white

1.70
#D5CA39 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.34
#D5CA39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CA39
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CA39#FFFFFF#000000##000000
##D5CA391.001.7012.3412.34
#FFFFFF1.701.0021.0021.00
#00000012.3421.001.001.00
##00000012.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC31D
Deuteranopia (green-blind)
#E0C944
Tritanopia (blue-blind)
#E5BCAE
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d5ca39;
/* rgb */ color: rgb(213, 202, 57);
/* oklch */ color: oklch(82.3% 0.157 104.9);
Tailwind
colors: {
  custom: {
    50: '#e6d97a',
    500: '#d5ca39',
    950: '#000000',
  },
}
SCSS
$custom: #d5ca39;
$custom-light: #e6d97a;
$custom-dark: #000000;
JSON
{
  "hex": "#d5ca39",
  "rgb": {
    "r": 213,
    "g": 202,
    "b": 57
  },
  "hsl": {
    "h": 55.769,
    "s": 65,
    "l": 52.941
  },
  "oklch": {
    "l": 0.82347,
    "c": 0.15736,
    "h": 104.9
  },
  "luminance": 0.56683
}

Semantic roles & 50–950 ramp

primary
#D5CA39
secondary
#313682
accent
#4CE840
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D5CA39

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

Preview Lab → · Contrast checker → · Palette generator →

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