#D6C450#D6C450

#D6C450 is a light, vivid yellow. Relative luminance 0.544; OKLCH L 81.4% C 0.136 H 100.5°. Best body text is #000000 at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#D6C450
RGBrgb(214, 196, 80)
HSLhsl(52, 62%, 58%)
HSVhsv(52, 63%, 84%)
CMYKcmyk(0%, 8.4%, 62.6%, 16.1%)
CIE-LABlab(78.67, -7.35, 58.79)
CIE-LCHlch(78.67, 59.25, 97.13°)
OKLaboklab(81.36% -0.0248 0.1341)
OKLCHoklch(81.36% 0.136 100.5)
XYZxyz(48.9214, 54.3572, 15.5030)
Luminance0.5435 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6C450 #5062D6
analogous
#D68150 #D6C450 #A5D650
triadic
#D6C450 #50D6C4 #C450D6
tetradic
#D6C450 #50D681 #5062D6 #D650A5
square
#D6C450 #50D681 #5062D6 #D650A5
split-complementary
#D6C450 #50A5D6 #8150D6
monochromatic
#8B7D21 #BDA92C #D6C450 #E2D582 #EDE5B3

Accessibility & contrast

On white

1.77
#D6C450 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.87
#D6C450 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6C450
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6C450#FFFFFF#000000##000000
##D6C4501.001.7711.8711.87
#FFFFFF1.771.0021.0021.00
#00000011.8721.001.001.00
##00000011.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF42
Deuteranopia (green-blind)
#DAC656
Tritanopia (blue-blind)
#E6B7AB
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d6c450;
/* rgb */ color: rgb(214, 196, 80);
/* oklch */ color: oklch(81.4% 0.136 100.5);
Tailwind
colors: {
  custom: {
    50: '#e6d586',
    500: '#d6c450',
    950: '#000000',
  },
}
SCSS
$custom: #d6c450;
$custom-light: #e6d586;
$custom-dark: #000000;
JSON
{
  "hex": "#d6c450",
  "rgb": {
    "r": 214,
    "g": 196,
    "b": 80
  },
  "hsl": {
    "h": 51.94,
    "s": 62.037,
    "l": 57.647
  },
  "oklch": {
    "l": 0.81361,
    "c": 0.13637,
    "h": 100.5
  },
  "luminance": 0.54355
}

Semantic roles & 50–950 ramp

primary
#D6C450
secondary
#394591
accent
#59E543
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D6C450

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

Preview Lab → · Contrast checker → · Palette generator →

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