#D4CA57#D4CA57

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

Color values

HEX#D4CA57
RGBrgb(212, 202, 87)
HSLhsl(55, 59%, 59%)
HSVhsv(55, 59%, 83%)
CMYKcmyk(0%, 4.7%, 59%, 16.9%)
CIE-LABlab(80.14, -10.78, 57.29)
CIE-LCHlch(80.14, 58.29, 100.66°)
OKLaboklab(82.51% -0.0337 0.1319)
OKLCHoklch(82.51% 0.136 104.3)
XYZxyz(49.9939, 56.9280, 17.3697)
Luminance0.5693 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CA57 #5761D4
analogous
#D48B57 #D4CA57 #9FD457
triadic
#D4CA57 #57D4CA #CA57D4
tetradic
#D4CA57 #57D48B #5761D4 #D4579F
square
#D4CA57 #57D48B #5761D4 #D4579F
split-complementary
#D4CA57 #579FD4 #8B57D4
monochromatic
#8D8424 #BDB230 #D4CA57 #E0D988 #EDE9B8

Accessibility & contrast

On white

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

On black

12.39
#D4CA57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4CA57
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4CA57#FFFFFF#000000##000000
##D4CA571.001.7012.3912.39
#FFFFFF1.701.0021.0021.00
#00000012.3921.001.001.00
##00000012.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC44A
Deuteranopia (green-blind)
#DEC95D
Tritanopia (blue-blind)
#E2BEB1
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d4ca57;
/* rgb */ color: rgb(212, 202, 87);
/* oklch */ color: oklch(82.5% 0.136 104.3);
Tailwind
colors: {
  custom: {
    50: '#e4d98b',
    500: '#d4ca57',
    950: '#000000',
  },
}
SCSS
$custom: #d4ca57;
$custom-light: #e4d98b;
$custom-dark: #000000;
JSON
{
  "hex": "#d4ca57",
  "rgb": {
    "r": 212,
    "g": 202,
    "b": 87
  },
  "hsl": {
    "h": 55.2,
    "s": 59.242,
    "l": 58.627
  },
  "oklch": {
    "l": 0.82507,
    "c": 0.13613,
    "h": 104.3
  },
  "luminance": 0.56926
}

Semantic roles & 50–950 ramp

primary
#D4CA57
secondary
#3D4493
accent
#52E245
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D4CA57

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

Preview Lab → · Contrast checker → · Palette generator →

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