#D0C23C#D0C23C

#D0C23C is a light, vivid yellow. Relative luminance 0.523; OKLCH L 80.2% C 0.149 H 103.2°. Best body text is #000000 at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#D0C23C
RGBrgb(208, 194, 60)
HSLhsl(54, 61%, 53%)
HSVhsv(54, 71%, 82%)
CMYKcmyk(0%, 6.7%, 71.2%, 18.4%)
CIE-LABlab(77.47, -9.99, 65.42)
CIE-LCHlch(77.47, 66.18, 98.68°)
OKLaboklab(80.24% -0.0341 0.1451)
OKLCHoklch(80.24% 0.149 103.2)
XYZxyz(46.1218, 52.3216, 11.9437)
Luminance0.5232 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0C23C #3C4AD0
analogous
#D0783C #D0C23C #94D03C
triadic
#D0C23C #3CD0C2 #C23CD0
tetradic
#D0C23C #3CD078 #3C4AD0 #D03C94
square
#D0C23C #3CD078 #3C4AD0 #D03C94
split-complementary
#D0C23C #3C94D0 #783CD0
monochromatic
#756D1C #A79B28 #D0C23C #DCD16D #E8E19F

Accessibility & contrast

On white

1.83
#D0C23C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.46
#D0C23C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0C23C
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0C23C#FFFFFF#000000##000000
##D0C23C1.001.8311.4611.46
#FFFFFF1.831.0021.0021.00
#00000011.4621.001.001.00
##00000011.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC26
Deuteranopia (green-blind)
#D8C245
Tritanopia (blue-blind)
#E0B5A8
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d0c23c;
/* rgb */ color: rgb(208, 194, 60);
/* oklch */ color: oklch(80.2% 0.149 103.2);
Tailwind
colors: {
  custom: {
    50: '#e2d47a',
    500: '#d0c23c',
    950: '#000000',
  },
}
SCSS
$custom: #d0c23c;
$custom-light: #e2d47a;
$custom-dark: #000000;
JSON
{
  "hex": "#d0c23c",
  "rgb": {
    "r": 208,
    "g": 194,
    "b": 60
  },
  "hsl": {
    "h": 54.324,
    "s": 61.157,
    "l": 52.549
  },
  "oklch": {
    "l": 0.80238,
    "c": 0.14901,
    "h": 103.2
  },
  "luminance": 0.5232
}

Semantic roles & 50–950 ramp

primary
#D0C23C
secondary
#323A7E
accent
#53E444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #D0C23C

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

Preview Lab → · Contrast checker → · Palette generator →

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