#D0CC58#D0CC58

#D0CC58 is a very light, vivid yellow. Relative luminance 0.573; OKLCH L 82.6% C 0.138 H 107.2°. Best body text is #000000 at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#D0CC58
RGBrgb(208, 204, 88)
HSLhsl(58, 56%, 58%)
HSVhsv(58, 58%, 82%)
CMYKcmyk(0%, 1.9%, 57.7%, 18.4%)
CIE-LABlab(80.35, -13.38, 56.99)
CIE-LCHlch(80.35, 58.54, 103.21°)
OKLaboklab(82.6% -0.0407 0.1315)
OKLCHoklch(82.6% 0.138 107.2)
XYZxyz(49.3682, 57.3017, 17.6904)
Luminance0.5730 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0CC58 #585CD0
analogous
#D09058 #D0CC58 #98D058
triadic
#D0CC58 #58D0CC #CC58D0
tetradic
#D0CC58 #58D090 #585CD0 #D05898
square
#D0CC58 #58D090 #585CD0 #D05898
split-complementary
#D0CC58 #5898D0 #9058D0
monochromatic
#878426 #B7B334 #D0CC58 #DDDB88 #EBE9B8

Accessibility & contrast

On white

1.69
#D0CC58 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.46
#D0CC58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0CC58
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0CC58#FFFFFF#000000##000000
##D0CC581.001.6912.4612.46
#FFFFFF1.691.0021.0021.00
#00000012.4621.001.001.00
##00000012.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC54B
Deuteranopia (green-blind)
#DECA5E
Tritanopia (blue-blind)
#DEC0B3
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d0cc58;
/* rgb */ color: rgb(208, 204, 88);
/* oklch */ color: oklch(82.6% 0.138 107.2);
Tailwind
colors: {
  custom: {
    50: '#e1db8b',
    500: '#d0cc58',
    950: '#000000',
  },
}
SCSS
$custom: #d0cc58;
$custom-light: #e1db8b;
$custom-dark: #000000;
JSON
{
  "hex": "#d0cc58",
  "rgb": {
    "r": 208,
    "g": 204,
    "b": 88
  },
  "hsl": {
    "h": 58,
    "s": 56.075,
    "l": 58.039
  },
  "oklch": {
    "l": 0.82597,
    "c": 0.13763,
    "h": 107.2
  },
  "luminance": 0.573
}

Semantic roles & 50–950 ramp

primary
#D0CC58
secondary
#3E418E
accent
#4DDF48
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D0CC58

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

Preview Lab → · Contrast checker → · Palette generator →

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