#D7C35A#D7C35A

#D7C35A is a light, vivid yellow. Relative luminance 0.542; OKLCH L 81.3% C 0.127 H 98.6°. Best body text is #000000 at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#D7C35A
RGBrgb(215, 195, 90)
HSLhsl(50, 61%, 60%)
HSVhsv(50, 58%, 84%)
CMYKcmyk(0%, 9.3%, 58.1%, 15.7%)
CIE-LABlab(78.59, -5.74, 54.27)
CIE-LCHlch(78.59, 54.57, 96.04°)
OKLaboklab(81.35% -0.0191 0.1258)
OKLCHoklch(81.35% 0.127 98.6)
XYZxyz(49.3868, 54.2176, 17.5345)
Luminance0.5422 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C35A #5A6ED7
analogous
#D7855A #D7C35A #ADD75A
triadic
#D7C35A #5AD7C3 #C35AD7
tetradic
#D7C35A #5AD785 #5A6ED7 #D75AAD
square
#D7C35A #5AD785 #5A6ED7 #D75AAD
split-complementary
#D7C35A #5AADD7 #855AD7
monochromatic
#938124 #C4AC30 #D7C35A #E3D58B #EFE7BD

Accessibility & contrast

On white

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

On black

11.84
#D7C35A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C35A
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C35A#FFFFFF#000000##000000
##D7C35A1.001.7711.8411.84
#FFFFFF1.771.0021.0021.00
#00000011.8421.001.001.00
##00000011.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BE4F
Deuteranopia (green-blind)
#D9C65F
Tritanopia (blue-blind)
#E6B6AC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d7c35a;
/* rgb */ color: rgb(215, 195, 90);
/* oklch */ color: oklch(81.3% 0.127 98.6);
Tailwind
colors: {
  custom: {
    50: '#e6d48c',
    500: '#d7c35a',
    950: '#000000',
  },
}
SCSS
$custom: #d7c35a;
$custom-light: #e6d48c;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c35a",
  "rgb": {
    "r": 215,
    "g": 195,
    "b": 90
  },
  "hsl": {
    "h": 50.4,
    "s": 60.976,
    "l": 59.804
  },
  "oklch": {
    "l": 0.81347,
    "c": 0.1272,
    "h": 98.6
  },
  "luminance": 0.54215
}

Semantic roles & 50–950 ramp

primary
#D7C35A
secondary
#3D4C98
accent
#5DE444
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D7C35A

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

Preview Lab → · Contrast checker → · Palette generator →

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