#D7C35E#D7C35E

#D7C35E is a light, vivid yellow. Relative luminance 0.543; OKLCH L 81.4% C 0.124 H 98.3°. Best body text is #000000 at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#D7C35E
RGBrgb(215, 195, 94)
HSLhsl(50, 60%, 61%)
HSVhsv(50, 56%, 84%)
CMYKcmyk(0%, 9.3%, 56.3%, 15.7%)
CIE-LABlab(78.63, -5.44, 52.47)
CIE-LCHlch(78.63, 52.75, 95.92°)
OKLaboklab(81.39% -0.0178 0.1223)
OKLCHoklch(81.39% 0.124 98.3)
XYZxyz(49.5616, 54.2875, 18.4554)
Luminance0.5429 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C35E #5E72D7
analogous
#D7865E #D7C35E #AED75E
triadic
#D7C35E #5ED7C3 #C35ED7
tetradic
#D7C35E #5ED786 #5E72D7 #D75EAE
square
#D7C35E #5ED786 #5E72D7 #D75EAE
split-complementary
#D7C35E #5EAED7 #865ED7
monochromatic
#958325 #C6AE31 #D7C35E #E3D58F #EFE8C0

Accessibility & contrast

On white

1.77
#D7C35E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.86
#D7C35E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C35E
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C35E#FFFFFF#000000##000000
##D7C35E1.001.7711.8611.86
#FFFFFF1.771.0021.0021.00
#00000011.8621.001.001.00
##00000011.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7c35e;
/* rgb */ color: rgb(215, 195, 94);
/* oklch */ color: oklch(81.4% 0.124 98.3);
Tailwind
colors: {
  custom: {
    50: '#e6d48f',
    500: '#d7c35e',
    950: '#000000',
  },
}
SCSS
$custom: #d7c35e;
$custom-light: #e6d48f;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c35e",
  "rgb": {
    "r": 215,
    "g": 195,
    "b": 94
  },
  "hsl": {
    "h": 50.083,
    "s": 60.199,
    "l": 60.588
  },
  "oklch": {
    "l": 0.81392,
    "c": 0.12363,
    "h": 98.3
  },
  "luminance": 0.54285
}

Semantic roles & 50–950 ramp

primary
#D7C35E
secondary
#3F4E9A
accent
#3AC81E
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D7C35E

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

Preview Lab → · Contrast checker → · Palette generator →

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