#D7C15A#D7C15A

#D7C15A is a light, vivid yellow. Relative luminance 0.533; OKLCH L 80.9% C 0.126 H 97.4°. Best body text is #000000 at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#D7C15A
RGBrgb(215, 193, 90)
HSLhsl(49, 61%, 60%)
HSVhsv(49, 58%, 84%)
CMYKcmyk(0%, 10.2%, 58.1%, 15.7%)
CIE-LABlab(78.07, -4.71, 53.68)
CIE-LCHlch(78.07, 53.89, 95.01°)
OKLaboklab(80.94% -0.0161 0.1245)
OKLCHoklch(80.94% 0.126 97.4)
XYZxyz(48.9417, 53.3273, 17.3861)
Luminance0.5333 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C15A #5A70D7
analogous
#D7835A #D7C15A #AFD75A
triadic
#D7C15A #5AD7C1 #C15AD7
tetradic
#D7C15A #5AD783 #5A70D7 #D75AAF
square
#D7C15A #5AD783 #5A70D7 #D75AAF
split-complementary
#D7C15A #5AAFD7 #835AD7
monochromatic
#937F24 #C4AA30 #D7C15A #E3D48B #EFE6BD

Accessibility & contrast

On white

1.80
#D7C15A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.67
#D7C15A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C15A
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C15A#FFFFFF#000000##000000
##D7C15A1.001.8011.6711.67
#FFFFFF1.801.0021.0021.00
#00000011.6721.001.001.00
##00000011.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BD50
Deuteranopia (green-blind)
#D8C45F
Tritanopia (blue-blind)
#E6B4AA
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d7c15a;
/* rgb */ color: rgb(215, 193, 90);
/* oklch */ color: oklch(80.9% 0.126 97.4);
Tailwind
colors: {
  custom: {
    50: '#e6d38c',
    500: '#d7c15a',
    950: '#000000',
  },
}
SCSS
$custom: #d7c15a;
$custom-light: #e6d38c;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c15a",
  "rgb": {
    "r": 215,
    "g": 193,
    "b": 90
  },
  "hsl": {
    "h": 49.44,
    "s": 60.976,
    "l": 59.804
  },
  "oklch": {
    "l": 0.80935,
    "c": 0.12553,
    "h": 97.4
  },
  "luminance": 0.53325
}

Semantic roles & 50–950 ramp

primary
#D7C15A
secondary
#3D4D98
accent
#60E444
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D7C15A

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

Preview Lab → · Contrast checker → · Palette generator →

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