#D7C55A#D7C55A

#D7C55A is a light, vivid yellow. Relative luminance 0.551; OKLCH L 81.8% C 0.129 H 99.9°. Best body text is #000000 at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#D7C55A
RGBrgb(215, 197, 90)
HSLhsl(51, 61%, 60%)
HSVhsv(51, 58%, 84%)
CMYKcmyk(0%, 8.4%, 58.1%, 15.7%)
CIE-LABlab(79.11, -6.77, 54.86)
CIE-LCHlch(79.11, 55.28, 97.03°)
OKLaboklab(81.76% -0.0221 0.127)
OKLCHoklch(81.76% 0.129 99.9)
XYZxyz(49.8379, 55.1198, 17.6849)
Luminance0.5512 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C55A #5A6CD7
analogous
#D7875A #D7C55A #ABD75A
triadic
#D7C55A #5AD7C5 #C55AD7
tetradic
#D7C55A #5AD787 #5A6CD7 #D75AAB
square
#D7C55A #5AD787 #5A6CD7 #D75AAB
split-complementary
#D7C55A #5AABD7 #875AD7
monochromatic
#938324 #C4AF30 #D7C55A #E3D68B #EFE8BD

Accessibility & contrast

On white

1.75
#D7C55A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.02
#D7C55A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C55A
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C55A#FFFFFF#000000##000000
##D7C55A1.001.7512.0212.02
#FFFFFF1.751.0021.0021.00
#00000012.0221.001.001.00
##00000012.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C04F
Deuteranopia (green-blind)
#DBC75F
Tritanopia (blue-blind)
#E6B8AD
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d7c55a;
/* rgb */ color: rgb(215, 197, 90);
/* oklch */ color: oklch(81.8% 0.129 99.9);
Tailwind
colors: {
  custom: {
    50: '#e6d68c',
    500: '#d7c55a',
    950: '#000000',
  },
}
SCSS
$custom: #d7c55a;
$custom-light: #e6d68c;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c55a",
  "rgb": {
    "r": 215,
    "g": 197,
    "b": 90
  },
  "hsl": {
    "h": 51.36,
    "s": 60.976,
    "l": 59.804
  },
  "oklch": {
    "l": 0.8176,
    "c": 0.12891,
    "h": 99.9
  },
  "luminance": 0.55118
}

Semantic roles & 50–950 ramp

primary
#D7C55A
secondary
#3D4A98
accent
#5BE444
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D7C55A

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

Preview Lab → · Contrast checker → · Palette generator →

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