#D7C55F#D7C55F

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

Color values

HEX#D7C55F
RGBrgb(215, 197, 95)
HSLhsl(51, 60%, 61%)
HSVhsv(51, 56%, 84%)
CMYKcmyk(0%, 8.4%, 55.8%, 15.7%)
CIE-LABlab(79.16, -6.39, 52.62)
CIE-LCHlch(79.16, 53.00, 96.93°)
OKLaboklab(81.82% -0.0204 0.1228)
OKLCHoklch(81.82% 0.124 99.4)
XYZxyz(50.0579, 55.2078, 18.8436)
Luminance0.5521 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C55F #5F71D7
analogous
#D7895F #D7C55F #ADD75F
triadic
#D7C55F #5FD7C5 #C55FD7
tetradic
#D7C55F #5FD789 #5F71D7 #D75FAD
square
#D7C55F #5FD789 #5F71D7 #D75FAD
split-complementary
#D7C55F #5FADD7 #895FD7
monochromatic
#968526 #C7B132 #D7C55F #E3D790 #EFE8C1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7C55F#FFFFFF#000000##000000
##D7C55F1.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)
#D5C055
Deuteranopia (green-blind)
#DAC764
Tritanopia (blue-blind)
#E6B9AE
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d7c55f;
/* rgb */ color: rgb(215, 197, 95);
/* oklch */ color: oklch(81.8% 0.124 99.4);
Tailwind
colors: {
  custom: {
    50: '#e6d68f',
    500: '#d7c55f',
    950: '#000000',
  },
}
SCSS
$custom: #d7c55f;
$custom-light: #e6d68f;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c55f",
  "rgb": {
    "r": 215,
    "g": 197,
    "b": 95
  },
  "hsl": {
    "h": 51,
    "s": 60,
    "l": 60.784
  },
  "oklch": {
    "l": 0.81817,
    "c": 0.12445,
    "h": 99.4
  },
  "luminance": 0.55206
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D7C55F

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

Preview Lab → · Contrast checker → · Palette generator →

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