#D7C35F#D7C35F

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

Color values

HEX#D7C35F
RGBrgb(215, 195, 95)
HSLhsl(50, 60%, 61%)
HSVhsv(50, 56%, 84%)
CMYKcmyk(0%, 9.3%, 55.8%, 15.7%)
CIE-LABlab(78.64, -5.36, 52.01)
CIE-LCHlch(78.64, 52.29, 95.89°)
OKLaboklab(81.4% -0.0175 0.1215)
OKLCHoklch(81.4% 0.123 98.2)
XYZxyz(49.6068, 54.3056, 18.6933)
Luminance0.5430 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C35F #5F73D7
analogous
#D7875F #D7C35F #AFD75F
triadic
#D7C35F #5FD7C3 #C35FD7
tetradic
#D7C35F #5FD787 #5F73D7 #D75FAF
square
#D7C35F #5FD787 #5F73D7 #D75FAF
split-complementary
#D7C35F #5FAFD7 #875FD7
monochromatic
#968326 #C7AE32 #D7C35F #E3D590 #EFE8C1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7C35F#FFFFFF#000000##000000
##D7C35F1.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)
#D3BF55
Deuteranopia (green-blind)
#D9C664
Tritanopia (blue-blind)
#E6B7AD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d7c35f;
/* rgb */ color: rgb(215, 195, 95);
/* oklch */ color: oklch(81.4% 0.123 98.2);
Tailwind
colors: {
  custom: {
    50: '#e6d48f',
    500: '#d7c35f',
    950: '#000000',
  },
}
SCSS
$custom: #d7c35f;
$custom-light: #e6d48f;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c35f",
  "rgb": {
    "r": 215,
    "g": 195,
    "b": 95
  },
  "hsl": {
    "h": 50,
    "s": 60,
    "l": 60.784
  },
  "oklch": {
    "l": 0.81404,
    "c": 0.12272,
    "h": 98.2
  },
  "luminance": 0.54304
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D7C35F

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

Preview Lab → · Contrast checker → · Palette generator →

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