#D0C155#D0C155

#D0C155 is a light, vivid yellow. Relative luminance 0.522; OKLCH L 80.2% C 0.130 H 101.5°. Best body text is #000000 at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#D0C155
RGBrgb(208, 193, 85)
HSLhsl(53, 57%, 57%)
HSVhsv(53, 59%, 82%)
CMYKcmyk(0%, 7.2%, 59.1%, 18.4%)
CIE-LABlab(77.40, -8.00, 55.05)
CIE-LCHlch(77.40, 55.62, 98.26°)
OKLaboklab(80.25% -0.0257 0.127)
OKLCHoklch(80.25% 0.13 101.5)
XYZxyz(46.7238, 52.2075, 16.2085)
Luminance0.5221 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0C155 #5564D0
analogous
#D08455 #D0C155 #A1D055
triadic
#D0C155 #55D0C1 #C155D0
tetradic
#D0C155 #55D084 #5564D0 #D055A1
square
#D0C155 #55D084 #5564D0 #D055A1
split-complementary
#D0C155 #55A1D0 #8455D0
monochromatic
#867A25 #B6A632 #D0C155 #DDD285 #EBE4B5

Accessibility & contrast

On white

1.84
#D0C155 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.44
#D0C155 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0C155
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0C155#FFFFFF#000000##000000
##D0C1551.001.8411.4411.44
#FFFFFF1.841.0021.0021.00
#00000011.4421.001.001.00
##00000011.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BC49
Deuteranopia (green-blind)
#D6C25B
Tritanopia (blue-blind)
#DFB5A9
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d0c155;
/* rgb */ color: rgb(208, 193, 85);
/* oklch */ color: oklch(80.2% 0.130 101.5);
Tailwind
colors: {
  custom: {
    50: '#e1d389',
    500: '#d0c155',
    950: '#000000',
  },
}
SCSS
$custom: #d0c155;
$custom-light: #e1d389;
$custom-dark: #000000;
JSON
{
  "hex": "#d0c155",
  "rgb": {
    "r": 208,
    "g": 193,
    "b": 85
  },
  "hsl": {
    "h": 52.683,
    "s": 56.682,
    "l": 57.451
  },
  "oklch": {
    "l": 0.80247,
    "c": 0.12953,
    "h": 101.5
  },
  "luminance": 0.52206
}

Semantic roles & 50–950 ramp

primary
#D0C155
secondary
#3D468D
accent
#5AE048
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D0C155

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

Preview Lab → · Contrast checker → · Palette generator →

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