#D7CA58#D7CA58

#D7CA58 is a very light, vivid yellow. Relative luminance 0.574; OKLCH L 82.8% C 0.135 H 102.8°. Best body text is #000000 at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#D7CA58
RGBrgb(215, 202, 88)
HSLhsl(54, 61%, 59%)
HSVhsv(54, 59%, 84%)
CMYKcmyk(0%, 6%, 59.1%, 15.7%)
CIE-LABlab(80.40, -9.47, 57.21)
CIE-LCHlch(80.40, 57.98, 99.40°)
OKLaboklab(82.78% -0.03 0.1318)
OKLCHoklch(82.78% 0.135 102.8)
XYZxyz(50.9081, 57.3946, 17.6273)
Luminance0.5739 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CA58 #5865D7
analogous
#D78B58 #D7CA58 #A5D758
triadic
#D7CA58 #58D7CA #CA58D7
tetradic
#D7CA58 #58D78B #5865D7 #D758A5
square
#D7CA58 #58D78B #5865D7 #D758A5
split-complementary
#D7CA58 #58A5D7 #8B58D7
monochromatic
#928623 #C3B42F #D7CA58 #E3DA89 #EFE9BB

Accessibility & contrast

On white

1.68
#D7CA58 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.48
#D7CA58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CA58
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CA58#FFFFFF#000000##000000
##D7CA581.001.6812.4812.48
#FFFFFF1.681.0021.0021.00
#00000012.4821.001.001.00
##00000012.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC44C
Deuteranopia (green-blind)
#DFCA5E
Tritanopia (blue-blind)
#E6BDB1
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d7ca58;
/* rgb */ color: rgb(215, 202, 88);
/* oklch */ color: oklch(82.8% 0.135 102.8);
Tailwind
colors: {
  custom: {
    50: '#e6d98b',
    500: '#d7ca58',
    950: '#000000',
  },
}
SCSS
$custom: #d7ca58;
$custom-light: #e6d98b;
$custom-dark: #000000;
JSON
{
  "hex": "#d7ca58",
  "rgb": {
    "r": 215,
    "g": 202,
    "b": 88
  },
  "hsl": {
    "h": 53.858,
    "s": 61.353,
    "l": 59.412
  },
  "oklch": {
    "l": 0.82779,
    "c": 0.13516,
    "h": 102.8
  },
  "luminance": 0.57393
}

Semantic roles & 50–950 ramp

primary
#D7CA58
secondary
#3C4697
accent
#54E443
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D7CA58

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

Preview Lab → · Contrast checker → · Palette generator →

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