#D7C458#D7C458

#D7C458 is a light, vivid yellow. Relative luminance 0.546; OKLCH L 81.5% C 0.130 H 99.4°. Best body text is #000000 at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#D7C458
RGBrgb(215, 196, 88)
HSLhsl(51, 61%, 59%)
HSVhsv(51, 59%, 84%)
CMYKcmyk(0%, 8.8%, 59.1%, 15.7%)
CIE-LABlab(78.83, -6.40, 55.45)
CIE-LCHlch(78.83, 55.82, 96.58°)
OKLaboklab(81.53% -0.0212 0.128)
OKLCHoklch(81.53% 0.13 99.4)
XYZxyz(49.5276, 54.6336, 17.1671)
Luminance0.5463 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C458 #586BD7
analogous
#D78558 #D7C458 #AAD758
triadic
#D7C458 #58D7C4 #C458D7
tetradic
#D7C458 #58D785 #586BD7 #D758AA
square
#D7C458 #58D785 #586BD7 #D758AA
split-complementary
#D7C458 #58AAD7 #8558D7
monochromatic
#928123 #C3AD2F #D7C458 #E3D589 #EFE7BB

Accessibility & contrast

On white

1.76
#D7C458 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.93
#D7C458 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C458
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C458#FFFFFF#000000##000000
##D7C4581.001.7611.9311.93
#FFFFFF1.761.0021.0021.00
#00000011.9321.001.001.00
##00000011.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF4D
Deuteranopia (green-blind)
#DAC65D
Tritanopia (blue-blind)
#E6B7AC
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d7c458;
/* rgb */ color: rgb(215, 196, 88);
/* oklch */ color: oklch(81.5% 0.130 99.4);
Tailwind
colors: {
  custom: {
    50: '#e6d58b',
    500: '#d7c458',
    950: '#000000',
  },
}
SCSS
$custom: #d7c458;
$custom-light: #e6d58b;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c458",
  "rgb": {
    "r": 215,
    "g": 196,
    "b": 88
  },
  "hsl": {
    "h": 51.024,
    "s": 61.353,
    "l": 59.412
  },
  "oklch": {
    "l": 0.81532,
    "c": 0.12978,
    "h": 99.4
  },
  "luminance": 0.54632
}

Semantic roles & 50–950 ramp

primary
#D7C458
secondary
#3C4A97
accent
#5BE443
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D7C458

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

Preview Lab → · Contrast checker → · Palette generator →

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