#D5CA4B#D5CA4B

#D5CA4B is a very light, vivid yellow. Relative luminance 0.569; OKLCH L 82.5% C 0.146 H 104.4°. Best body text is #000000 at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#D5CA4B
RGBrgb(213, 202, 75)
HSLhsl(55, 62%, 56%)
HSVhsv(55, 65%, 84%)
CMYKcmyk(0%, 5.2%, 64.8%, 16.5%)
CIE-LABlab(80.12, -11.14, 62.40)
CIE-LCHlch(80.12, 63.39, 100.12°)
OKLaboklab(82.48% -0.0361 0.141)
OKLCHoklch(82.48% 0.146 104.4)
XYZxyz(49.8330, 56.8970, 15.0125)
Luminance0.5689 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CA4B #4B56D5
analogous
#D5854B #D5CA4B #9BD54B
triadic
#D5CA4B #4BD5CA #CA4BD5
tetradic
#D5CA4B #4BD585 #4B56D5 #D54B9B
square
#D5CA4B #4BD585 #4B56D5 #D54B9B
split-complementary
#D5CA4B #4B9BD5 #854BD5
monochromatic
#867E1F #B8AD2B #D5CA4B #E1D97D #ECE7AE

Accessibility & contrast

On white

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

On black

12.38
#D5CA4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CA4B
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CA4B#FFFFFF#000000##000000
##D5CA4B1.001.7012.3812.38
#FFFFFF1.701.0021.0021.00
#00000012.3821.001.001.00
##00000012.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC33A
Deuteranopia (green-blind)
#DFC953
Tritanopia (blue-blind)
#E4BDB0
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d5ca4b;
/* rgb */ color: rgb(213, 202, 75);
/* oklch */ color: oklch(82.5% 0.146 104.4);
Tailwind
colors: {
  custom: {
    50: '#e5d983',
    500: '#d5ca4b',
    950: '#000000',
  },
}
SCSS
$custom: #d5ca4b;
$custom-light: #e5d983;
$custom-dark: #000000;
JSON
{
  "hex": "#d5ca4b",
  "rgb": {
    "r": 213,
    "g": 202,
    "b": 75
  },
  "hsl": {
    "h": 55.217,
    "s": 62.162,
    "l": 56.471
  },
  "oklch": {
    "l": 0.82481,
    "c": 0.14557,
    "h": 104.4
  },
  "luminance": 0.56895
}

Semantic roles & 50–950 ramp

primary
#D5CA4B
secondary
#373E8D
accent
#50E543
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D5CA4B

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

Preview Lab → · Contrast checker → · Palette generator →

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