#D7C350#D7C350

#D7C350 is a light, vivid yellow. Relative luminance 0.541; OKLCH L 81.2% C 0.136 H 99.4°. Best body text is #000000 at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#D7C350
RGBrgb(215, 195, 80)
HSLhsl(51, 63%, 58%)
HSVhsv(51, 63%, 84%)
CMYKcmyk(0%, 9.3%, 62.8%, 15.7%)
CIE-LABlab(78.50, -6.42, 58.63)
CIE-LCHlch(78.50, 58.98, 96.25°)
OKLaboklab(81.24% -0.0222 0.1337)
OKLCHoklch(81.24% 0.136 99.4)
XYZxyz(48.9894, 54.0586, 15.4417)
Luminance0.5406 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C350 #5064D7
analogous
#D77F50 #D7C350 #A8D750
triadic
#D7C350 #50D7C3 #C350D7
tetradic
#D7C350 #50D77F #5064D7 #D750A8
square
#D7C350 #50D77F #5064D7 #D750A8
split-complementary
#D7C350 #50A8D7 #7F50D7
monochromatic
#8C7C20 #BEA92B #D7C350 #E2D482 #EEE5B4

Accessibility & contrast

On white

1.78
#D7C350 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.81
#D7C350 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C350
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C350#FFFFFF#000000##000000
##D7C3501.001.7811.8111.81
#FFFFFF1.781.0021.0021.00
#00000011.8121.001.001.00
##00000011.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BE43
Deuteranopia (green-blind)
#DAC556
Tritanopia (blue-blind)
#E7B6AB
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d7c350;
/* rgb */ color: rgb(215, 195, 80);
/* oklch */ color: oklch(81.2% 0.136 99.4);
Tailwind
colors: {
  custom: {
    50: '#e6d486',
    500: '#d7c350',
    950: '#000000',
  },
}
SCSS
$custom: #d7c350;
$custom-light: #e6d486;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c350",
  "rgb": {
    "r": 215,
    "g": 195,
    "b": 80
  },
  "hsl": {
    "h": 51.111,
    "s": 62.791,
    "l": 57.843
  },
  "oklch": {
    "l": 0.81244,
    "c": 0.13556,
    "h": 99.4
  },
  "luminance": 0.54056
}

Semantic roles & 50–950 ramp

primary
#D7C350
secondary
#394692
accent
#5AE642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D7C350

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

Preview Lab → · Contrast checker → · Palette generator →

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