#D0C256#D0C256

#D0C256 is a light, vivid yellow. Relative luminance 0.527; OKLCH L 80.5% C 0.130 H 102.0°. Best body text is #000000 at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#D0C256
RGBrgb(208, 194, 86)
HSLhsl(53, 56%, 58%)
HSVhsv(53, 59%, 82%)
CMYKcmyk(0%, 6.7%, 58.7%, 18.4%)
CIE-LABlab(77.68, -8.44, 54.90)
CIE-LCHlch(77.68, 55.55, 98.74°)
OKLaboklab(80.47% -0.0269 0.1268)
OKLCHoklch(80.47% 0.13 102)
XYZxyz(46.9856, 52.6671, 16.4931)
Luminance0.5266 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0C256 #5664D0
analogous
#D08556 #D0C256 #A1D056
triadic
#D0C256 #56D0C2 #C256D0
tetradic
#D0C256 #56D085 #5664D0 #D056A1
square
#D0C256 #56D085 #5664D0 #D056A1
split-complementary
#D0C256 #56A1D0 #8556D0
monochromatic
#867B25 #B6A733 #D0C256 #DDD386 #EBE5B6

Accessibility & contrast

On white

1.82
#D0C256 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.53
#D0C256 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0C256
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0C256#FFFFFF#000000##000000
##D0C2561.001.8211.5311.53
#FFFFFF1.821.0021.0021.00
#00000011.5321.001.001.00
##00000011.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BC4B
Deuteranopia (green-blind)
#D6C35C
Tritanopia (blue-blind)
#DEB6AA
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d0c256;
/* rgb */ color: rgb(208, 194, 86);
/* oklch */ color: oklch(80.5% 0.130 102.0);
Tailwind
colors: {
  custom: {
    50: '#e1d489',
    500: '#d0c256',
    950: '#000000',
  },
}
SCSS
$custom: #d0c256;
$custom-light: #e1d489;
$custom-dark: #000000;
JSON
{
  "hex": "#d0c256",
  "rgb": {
    "r": 208,
    "g": 194,
    "b": 86
  },
  "hsl": {
    "h": 53.115,
    "s": 56.481,
    "l": 57.647
  },
  "oklch": {
    "l": 0.80467,
    "c": 0.12958,
    "h": 102
  },
  "luminance": 0.52665
}

Semantic roles & 50–950 ramp

primary
#D0C256
secondary
#3D468D
accent
#59E048
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D0C256

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

Preview Lab → · Contrast checker → · Palette generator →

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