#D4C080#D4C080

#D4C080 is a light, moderate yellow. Relative luminance 0.533; OKLCH L 81.0% C 0.086 H 92.7°. Best body text is #000000 at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#D4C080
RGBrgb(212, 192, 128)
HSLhsl(46, 49%, 67%)
HSVhsv(46, 40%, 83%)
CMYKcmyk(0%, 9.4%, 39.6%, 16.9%)
CIE-LABlab(78.03, -1.93, 34.83)
CIE-LCHlch(78.03, 34.88, 93.17°)
OKLaboklab(80.99% -0.0041 0.0856)
OKLCHoklch(80.99% 0.086 92.7)
XYZxyz(49.8984, 53.2566, 28.0690)
Luminance0.5325 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C080 #8094D4
analogous
#D49680 #D4C080 #BED480
triadic
#D4C080 #80D4C0 #C080D4
tetradic
#D4C080 #80D496 #8094D4 #D480BE
square
#D4C080 #80D496 #8094D4 #D480BE
split-complementary
#D4C080 #80BED4 #9680D4
monochromatic
#A38937 #C5A952 #D4C080 #E3D7AE #F3EDDB

Accessibility & contrast

On white

1.80
#D4C080 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.65
#D4C080 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C080
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C080#FFFFFF#000000##000000
##D4C0801.001.8011.6511.65
#FFFFFF1.801.0021.0021.00
#00000011.6521.001.001.00
##00000011.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDBD7B
Deuteranopia (green-blind)
#D2C482
Tritanopia (blue-blind)
#E0B7B0
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d4c080;
/* rgb */ color: rgb(212, 192, 128);
/* oklch */ color: oklch(81.0% 0.086 92.7);
Tailwind
colors: {
  custom: {
    50: '#e2d2a5',
    500: '#d4c080',
    950: '#000000',
  },
}
SCSS
$custom: #d4c080;
$custom-light: #e2d2a5;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c080",
  "rgb": {
    "r": 212,
    "g": 192,
    "b": 128
  },
  "hsl": {
    "h": 45.714,
    "s": 49.412,
    "l": 66.667
  },
  "oklch": {
    "l": 0.80995,
    "c": 0.08572,
    "h": 92.7
  },
  "luminance": 0.53255
}

Semantic roles & 50–950 ramp

primary
#D4C080
secondary
#5166A7
accent
#4CBD29
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#16140F
muted
#848380

Preview Lab

Preview with #D4C080

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

Preview Lab → · Contrast checker → · Palette generator →

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