#D7C55E#D7C55E

#D7C55E is a light, vivid yellow. Relative luminance 0.552; OKLCH L 81.8% C 0.125 H 99.5°. Best body text is #000000 at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#D7C55E
RGBrgb(215, 197, 94)
HSLhsl(51, 60%, 61%)
HSVhsv(51, 56%, 84%)
CMYKcmyk(0%, 8.4%, 56.3%, 15.7%)
CIE-LABlab(79.15, -6.47, 53.07)
CIE-LCHlch(79.15, 53.46, 96.95°)
OKLaboklab(81.81% -0.0208 0.1236)
OKLCHoklch(81.81% 0.125 99.5)
XYZxyz(50.0128, 55.1897, 18.6058)
Luminance0.5519 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C55E #5E70D7
analogous
#D7885E #D7C55E #ADD75E
triadic
#D7C55E #5ED7C5 #C55ED7
tetradic
#D7C55E #5ED788 #5E70D7 #D75EAD
square
#D7C55E #5ED788 #5E70D7 #D75EAD
split-complementary
#D7C55E #5EADD7 #885ED7
monochromatic
#958525 #C6B031 #D7C55E #E3D78F #EFE8C0

Accessibility & contrast

On white

1.74
#D7C55E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.04
#D7C55E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C55E
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C55E#FFFFFF#000000##000000
##D7C55E1.001.7412.0412.04
#FFFFFF1.741.0021.0021.00
#00000012.0421.001.001.00
##00000012.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C054
Deuteranopia (green-blind)
#DAC763
Tritanopia (blue-blind)
#E6B9AE
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d7c55e;
/* rgb */ color: rgb(215, 197, 94);
/* oklch */ color: oklch(81.8% 0.125 99.5);
Tailwind
colors: {
  custom: {
    50: '#e6d68f',
    500: '#d7c55e',
    950: '#000000',
  },
}
SCSS
$custom: #d7c55e;
$custom-light: #e6d68f;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c55e",
  "rgb": {
    "r": 215,
    "g": 197,
    "b": 94
  },
  "hsl": {
    "h": 51.074,
    "s": 60.199,
    "l": 60.588
  },
  "oklch": {
    "l": 0.81805,
    "c": 0.12536,
    "h": 99.5
  },
  "luminance": 0.55188
}

Semantic roles & 50–950 ramp

primary
#D7C55E
secondary
#3F4C9A
accent
#37C81E
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D7C55E

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

Preview Lab → · Contrast checker → · Palette generator →

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