#D0C13B#D0C13B

#D0C13B is a light, vivid yellow. Relative luminance 0.519; OKLCH L 80.0% C 0.149 H 102.8°. Best body text is #000000 at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#D0C13B
RGBrgb(208, 193, 59)
HSLhsl(54, 61%, 52%)
HSVhsv(54, 72%, 82%)
CMYKcmyk(0%, 7.2%, 71.6%, 18.4%)
CIE-LABlab(77.20, -9.53, 65.52)
CIE-LCHlch(77.20, 66.21, 98.27°)
OKLaboklab(80.02% -0.0329 0.1451)
OKLCHoklch(80.02% 0.149 102.8)
XYZxyz(45.8738, 51.8675, 11.7319)
Luminance0.5187 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0C13B #3B4AD0
analogous
#D0773B #D0C13B #94D03B
triadic
#D0C13B #3BD0C1 #C13BD0
tetradic
#D0C13B #3BD077 #3B4AD0 #D03B94
square
#D0C13B #3BD077 #3B4AD0 #D03B94
split-complementary
#D0C13B #3B94D0 #773BD0
monochromatic
#756C1C #A69928 #D0C13B #DCD16C #E8E09E

Accessibility & contrast

On white

1.85
#D0C13B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.37
#D0C13B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0C13B
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0C13B#FFFFFF#000000##000000
##D0C13B1.001.8511.3711.37
#FFFFFF1.851.0021.0021.00
#00000011.3721.001.001.00
##00000011.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB24
Deuteranopia (green-blind)
#D7C244
Tritanopia (blue-blind)
#E0B3A7
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d0c13b;
/* rgb */ color: rgb(208, 193, 59);
/* oklch */ color: oklch(80.0% 0.149 102.8);
Tailwind
colors: {
  custom: {
    50: '#e2d37a',
    500: '#d0c13b',
    950: '#000000',
  },
}
SCSS
$custom: #d0c13b;
$custom-light: #e2d37a;
$custom-dark: #000000;
JSON
{
  "hex": "#d0c13b",
  "rgb": {
    "r": 208,
    "g": 193,
    "b": 59
  },
  "hsl": {
    "h": 53.96,
    "s": 61.317,
    "l": 52.353
  },
  "oklch": {
    "l": 0.80021,
    "c": 0.14878,
    "h": 102.8
  },
  "luminance": 0.51866
}

Semantic roles & 50–950 ramp

primary
#D0C13B
secondary
#323A7D
accent
#54E443
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #D0C13B

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

Preview Lab → · Contrast checker → · Palette generator →

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