#D5CA3C#D5CA3C

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

Color values

HEX#D5CA3C
RGBrgb(213, 202, 60)
HSLhsl(56, 65%, 54%)
HSVhsv(56, 72%, 84%)
CMYKcmyk(0%, 5.2%, 71.8%, 16.5%)
CIE-LABlab(80.02, -11.93, 68.04)
CIE-LCHlch(80.02, 69.07, 99.94°)
OKLaboklab(82.37% -0.0399 0.1504)
OKLCHoklch(82.37% 0.156 104.8)
XYZxyz(49.3788, 56.7154, 12.6202)
Luminance0.5671 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CA3C #3C47D5
analogous
#D57D3C #D5CA3C #93D53C
triadic
#D5CA3C #3CD5CA #CA3CD5
tetradic
#D5CA3C #3CD57D #3C47D5 #D53C93
square
#D5CA3C #3CD57D #3C47D5 #D53C93
split-complementary
#D5CA3C #3C93D5 #7D3CD5
monochromatic
#7C751B #AEA426 #D5CA3C #E0D86E #EBE5A1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5CA3C#FFFFFF#000000##000000
##D5CA3C1.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)
#DCC323
Deuteranopia (green-blind)
#E0C946
Tritanopia (blue-blind)
#E5BCAE
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d5ca3c;
/* rgb */ color: rgb(213, 202, 60);
/* oklch */ color: oklch(82.4% 0.156 104.8);
Tailwind
colors: {
  custom: {
    50: '#e6d97b',
    500: '#d5ca3c',
    950: '#000000',
  },
}
SCSS
$custom: #d5ca3c;
$custom-light: #e6d97b;
$custom-dark: #000000;
JSON
{
  "hex": "#d5ca3c",
  "rgb": {
    "r": 213,
    "g": 202,
    "b": 60
  },
  "hsl": {
    "h": 55.686,
    "s": 64.557,
    "l": 53.529
  },
  "oklch": {
    "l": 0.82366,
    "c": 0.15561,
    "h": 104.8
  },
  "luminance": 0.56713
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D5CA3C

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

Preview Lab → · Contrast checker → · Palette generator →

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