#D7C950#D7C950

#D7C950 is a very light, vivid yellow. Relative luminance 0.568; OKLCH L 82.5% C 0.141 H 102.7°. Best body text is #000000 at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#D7C950
RGBrgb(215, 201, 80)
HSLhsl(54, 63%, 58%)
HSVhsv(54, 63%, 84%)
CMYKcmyk(0%, 6.5%, 62.8%, 15.7%)
CIE-LABlab(80.07, -9.49, 60.32)
CIE-LCHlch(80.07, 61.06, 98.94°)
OKLaboklab(82.49% -0.031 0.1373)
OKLCHoklch(82.49% 0.141 102.7)
XYZxyz(50.3609, 56.8015, 15.8989)
Luminance0.5680 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C950 #505ED7
analogous
#D78650 #D7C950 #A1D750
triadic
#D7C950 #50D7C9 #C950D7
tetradic
#D7C950 #50D786 #505ED7 #D750A1
square
#D7C950 #50D786 #505ED7 #D750A1
split-complementary
#D7C950 #50A1D7 #8650D7
monochromatic
#8C8120 #BEAF2B #D7C950 #E2D882 #EEE8B4

Accessibility & contrast

On white

1.70
#D7C950 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.36
#D7C950 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C950
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C950#FFFFFF#000000##000000
##D7C9501.001.7012.3612.36
#FFFFFF1.701.0021.0021.00
#00000012.3621.001.001.00
##00000012.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC341
Deuteranopia (green-blind)
#DEC957
Tritanopia (blue-blind)
#E6BCAF
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d7c950;
/* rgb */ color: rgb(215, 201, 80);
/* oklch */ color: oklch(82.5% 0.141 102.7);
Tailwind
colors: {
  custom: {
    50: '#e6d986',
    500: '#d7c950',
    950: '#000000',
  },
}
SCSS
$custom: #d7c950;
$custom-light: #e6d986;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c950",
  "rgb": {
    "r": 215,
    "g": 201,
    "b": 80
  },
  "hsl": {
    "h": 53.778,
    "s": 62.791,
    "l": 57.843
  },
  "oklch": {
    "l": 0.82491,
    "c": 0.14075,
    "h": 102.7
  },
  "luminance": 0.568
}

Semantic roles & 50–950 ramp

primary
#D7C950
secondary
#394292
accent
#53E642
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#16140C
muted
#85837F

Preview Lab

Preview with #D7C950

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

Preview Lab → · Contrast checker → · Palette generator →

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