#D5CA42#D5CA42

#D5CA42 is a very light, vivid yellow. Relative luminance 0.568; OKLCH L 82.4% C 0.152 H 104.7°. Best body text is #000000 at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#D5CA42
RGBrgb(213, 202, 66)
HSLhsl(56, 64%, 55%)
HSVhsv(56, 69%, 84%)
CMYKcmyk(0%, 5.2%, 69%, 16.5%)
CIE-LABlab(80.06, -11.64, 65.88)
CIE-LCHlch(80.06, 66.90, 100.02°)
OKLaboklab(82.41% -0.0385 0.1469)
OKLCHoklch(82.41% 0.152 104.7)
XYZxyz(49.5465, 56.7824, 13.5034)
Luminance0.5678 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CA42 #424DD5
analogous
#D58042 #D5CA42 #97D542
triadic
#D5CA42 #42D5CA #CA42D5
tetradic
#D5CA42 #42D580 #424DD5 #D54297
square
#D5CA42 #42D580 #424DD5 #D54297
split-complementary
#D5CA42 #4297D5 #8042D5
monochromatic
#80791C #B2A828 #D5CA42 #E0D874 #EBE6A6

Accessibility & contrast

On white

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

On black

12.36
#D5CA42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CA42
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CA42#FFFFFF#000000##000000
##D5CA421.001.7012.3612.36
#FFFFFF1.701.0021.0021.00
#00000012.3621.001.001.00
##00000012.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC32D
Deuteranopia (green-blind)
#DFC94B
Tritanopia (blue-blind)
#E5BCAF
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d5ca42;
/* rgb */ color: rgb(213, 202, 66);
/* oklch */ color: oklch(82.4% 0.152 104.7);
Tailwind
colors: {
  custom: {
    50: '#e5d97e',
    500: '#d5ca42',
    950: '#000000',
  },
}
SCSS
$custom: #d5ca42;
$custom-light: #e5d97e;
$custom-dark: #000000;
JSON
{
  "hex": "#d5ca42",
  "rgb": {
    "r": 213,
    "g": 202,
    "b": 66
  },
  "hsl": {
    "h": 55.51,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.82409,
    "c": 0.15185,
    "h": 104.7
  },
  "luminance": 0.56781
}

Semantic roles & 50–950 ramp

primary
#D5CA42
secondary
#343A87
accent
#4EE741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D5CA42

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

Preview Lab → · Contrast checker → · Palette generator →

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