#D7C050#D7C050

#D7C050 is a light, vivid yellow. Relative luminance 0.527; OKLCH L 80.6% C 0.133 H 97.7°. Best body text is #000000 at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#D7C050
RGBrgb(215, 192, 80)
HSLhsl(50, 63%, 58%)
HSVhsv(50, 63%, 84%)
CMYKcmyk(0%, 10.7%, 62.8%, 15.7%)
CIE-LABlab(77.71, -4.87, 57.78)
CIE-LCHlch(77.71, 57.99, 94.82°)
OKLaboklab(80.62% -0.0178 0.1319)
OKLCHoklch(80.62% 0.133 97.7)
XYZxyz(48.3240, 52.7278, 15.2199)
Luminance0.5273 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C050 #5067D7
analogous
#D77C50 #D7C050 #AAD750
triadic
#D7C050 #50D7C0 #C050D7
tetradic
#D7C050 #50D77C #5067D7 #D750AA
square
#D7C050 #50D77C #5067D7 #D750AA
split-complementary
#D7C050 #50AAD7 #7C50D7
monochromatic
#8C7A20 #BEA52B #D7C050 #E2D282 #EEE4B4

Accessibility & contrast

On white

1.82
#D7C050 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.55
#D7C050 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C050
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C050#FFFFFF#000000##000000
##D7C0501.001.8211.5511.55
#FFFFFF1.821.0021.0021.00
#00000011.5521.001.001.00
##00000011.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BC43
Deuteranopia (green-blind)
#D8C356
Tritanopia (blue-blind)
#E7B3A8
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d7c050;
/* rgb */ color: rgb(215, 192, 80);
/* oklch */ color: oklch(80.6% 0.133 97.7);
Tailwind
colors: {
  custom: {
    50: '#e6d286',
    500: '#d7c050',
    950: '#000000',
  },
}
SCSS
$custom: #d7c050;
$custom-light: #e6d286;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c050",
  "rgb": {
    "r": 215,
    "g": 192,
    "b": 80
  },
  "hsl": {
    "h": 49.778,
    "s": 62.791,
    "l": 57.843
  },
  "oklch": {
    "l": 0.80624,
    "c": 0.13312,
    "h": 97.7
  },
  "luminance": 0.52726
}

Semantic roles & 50–950 ramp

primary
#D7C050
secondary
#394892
accent
#5EE642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D7C050

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

Preview Lab → · Contrast checker → · Palette generator →

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