#D7C150#D7C150

#D7C150 is a light, vivid yellow. Relative luminance 0.532; OKLCH L 80.8% C 0.134 H 98.3°. Best body text is #000000 at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#D7C150
RGBrgb(215, 193, 80)
HSLhsl(50, 63%, 58%)
HSVhsv(50, 63%, 84%)
CMYKcmyk(0%, 10.2%, 62.8%, 15.7%)
CIE-LABlab(77.97, -5.39, 58.06)
CIE-LCHlch(77.97, 58.31, 95.30°)
OKLaboklab(80.83% -0.0193 0.1325)
OKLCHoklch(80.83% 0.134 98.3)
XYZxyz(48.5443, 53.1684, 15.2934)
Luminance0.5317 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C150 #5066D7
analogous
#D77D50 #D7C150 #AAD750
triadic
#D7C150 #50D7C1 #C150D7
tetradic
#D7C150 #50D77D #5066D7 #D750AA
square
#D7C150 #50D77D #5066D7 #D750AA
split-complementary
#D7C150 #50AAD7 #7D50D7
monochromatic
#8C7B20 #BEA62B #D7C150 #E2D382 #EEE4B4

Accessibility & contrast

On white

1.81
#D7C150 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.63
#D7C150 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C150
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C150#FFFFFF#000000##000000
##D7C1501.001.8111.6311.63
#FFFFFF1.811.0021.0021.00
#00000011.6321.001.001.00
##00000011.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC43
Deuteranopia (green-blind)
#D9C456
Tritanopia (blue-blind)
#E7B4A9
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d7c150;
/* rgb */ color: rgb(215, 193, 80);
/* oklch */ color: oklch(80.8% 0.134 98.3);
Tailwind
colors: {
  custom: {
    50: '#e6d386',
    500: '#d7c150',
    950: '#000000',
  },
}
SCSS
$custom: #d7c150;
$custom-light: #e6d386;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c150",
  "rgb": {
    "r": 215,
    "g": 193,
    "b": 80
  },
  "hsl": {
    "h": 50.222,
    "s": 62.791,
    "l": 57.843
  },
  "oklch": {
    "l": 0.8083,
    "c": 0.13392,
    "h": 98.3
  },
  "luminance": 0.53166
}

Semantic roles & 50–950 ramp

primary
#D7C150
secondary
#394792
accent
#5DE642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D7C150

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

Preview Lab → · Contrast checker → · Palette generator →

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