#D7C250#D7C250

#D7C250 is a light, vivid yellow. Relative luminance 0.536; OKLCH L 81.0% C 0.135 H 98.9°. Best body text is #000000 at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#D7C250
RGBrgb(215, 194, 80)
HSLhsl(51, 63%, 58%)
HSVhsv(51, 63%, 84%)
CMYKcmyk(0%, 9.8%, 62.8%, 15.7%)
CIE-LABlab(78.23, -5.91, 58.34)
CIE-LCHlch(78.23, 58.64, 95.78°)
OKLaboklab(81.04% -0.0207 0.1331)
OKLCHoklch(81.04% 0.135 98.9)
XYZxyz(48.7661, 53.6120, 15.3673)
Luminance0.5361 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C250 #5065D7
analogous
#D77F50 #D7C250 #A8D750
triadic
#D7C250 #50D7C2 #C250D7
tetradic
#D7C250 #50D77F #5065D7 #D750A8
square
#D7C250 #50D77F #5065D7 #D750A8
split-complementary
#D7C250 #50A8D7 #7F50D7
monochromatic
#8C7C20 #BEA72B #D7C250 #E2D382 #EEE5B4

Accessibility & contrast

On white

1.79
#D7C250 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.72
#D7C250 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C250
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C250#FFFFFF#000000##000000
##D7C2501.001.7911.7211.72
#FFFFFF1.791.0021.0021.00
#00000011.7221.001.001.00
##00000011.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD43
Deuteranopia (green-blind)
#D9C556
Tritanopia (blue-blind)
#E7B5AA
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d7c250;
/* rgb */ color: rgb(215, 194, 80);
/* oklch */ color: oklch(81.0% 0.135 98.9);
Tailwind
colors: {
  custom: {
    50: '#e6d486',
    500: '#d7c250',
    950: '#000000',
  },
}
SCSS
$custom: #d7c250;
$custom-light: #e6d486;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c250",
  "rgb": {
    "r": 215,
    "g": 194,
    "b": 80
  },
  "hsl": {
    "h": 50.667,
    "s": 62.791,
    "l": 57.843
  },
  "oklch": {
    "l": 0.81037,
    "c": 0.13473,
    "h": 98.9
  },
  "luminance": 0.5361
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D7C250

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

Preview Lab → · Contrast checker → · Palette generator →

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