#D0C258#D0C258

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

Color values

HEX#D0C258
RGBrgb(208, 194, 88)
HSLhsl(53, 56%, 58%)
HSVhsv(53, 58%, 82%)
CMYKcmyk(0%, 6.7%, 57.7%, 18.4%)
CIE-LABlab(77.70, -8.29, 54.01)
CIE-LCHlch(77.70, 54.65, 98.73°)
OKLaboklab(80.49% -0.0262 0.1251)
OKLCHoklch(80.49% 0.128 101.8)
XYZxyz(47.0673, 52.6998, 16.9234)
Luminance0.5270 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0C258 #5866D0
analogous
#D08658 #D0C258 #A2D058
triadic
#D0C258 #58D0C2 #C258D0
tetradic
#D0C258 #58D086 #5866D0 #D058A2
square
#D0C258 #58D086 #5866D0 #D058A2
split-complementary
#D0C258 #58A2D0 #8658D0
monochromatic
#877C26 #B7A834 #D0C258 #DDD388 #EBE5B8

Accessibility & contrast

On white

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

On black

11.54
#D0C258 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0C258
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0C258#FFFFFF#000000##000000
##D0C2581.001.8211.5411.54
#FFFFFF1.821.0021.0021.00
#00000011.5421.001.001.00
##00000011.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BD4D
Deuteranopia (green-blind)
#D6C35D
Tritanopia (blue-blind)
#DEB6AB
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d0c258;
/* rgb */ color: rgb(208, 194, 88);
/* oklch */ color: oklch(80.5% 0.128 101.8);
Tailwind
colors: {
  custom: {
    50: '#e1d48b',
    500: '#d0c258',
    950: '#000000',
  },
}
SCSS
$custom: #d0c258;
$custom-light: #e1d48b;
$custom-dark: #000000;
JSON
{
  "hex": "#d0c258",
  "rgb": {
    "r": 208,
    "g": 194,
    "b": 88
  },
  "hsl": {
    "h": 53,
    "s": 56.075,
    "l": 58.039
  },
  "oklch": {
    "l": 0.80489,
    "c": 0.12783,
    "h": 101.8
  },
  "luminance": 0.52698
}

Semantic roles & 50–950 ramp

primary
#D0C258
secondary
#3E478E
accent
#5ADF48
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D0C258

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

Preview Lab → · Contrast checker → · Palette generator →

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