#D0C148#D0C148

#D0C148 is a light, vivid yellow. Relative luminance 0.520; OKLCH L 80.1% C 0.140 H 102.2°. Best body text is #000000 at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#D0C148
RGBrgb(208, 193, 72)
HSLhsl(53, 59%, 55%)
HSVhsv(53, 65%, 82%)
CMYKcmyk(0%, 7.2%, 65.4%, 18.4%)
CIE-LABlab(77.29, -8.84, 60.55)
CIE-LCHlch(77.29, 61.19, 98.31°)
OKLaboklab(80.12% -0.0296 0.1368)
OKLCHoklch(80.12% 0.14 102.2)
XYZxyz(46.2540, 52.0196, 13.7340)
Luminance0.5202 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0C148 #4857D0
analogous
#D07D48 #D0C148 #9BD048
triadic
#D0C148 #48D0C1 #C148D0
tetradic
#D0C148 #48D07D #4857D0 #D0489B
square
#D0C148 #48D07D #4857D0 #D0489B
split-complementary
#D0C148 #489BD0 #7D48D0
monochromatic
#7D7320 #AEA02D #D0C148 #DDD179 #E9E2A9

Accessibility & contrast

On white

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

On black

11.40
#D0C148 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0C148
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0C148#FFFFFF#000000##000000
##D0C1481.001.8411.4011.40
#FFFFFF1.841.0021.0021.00
#00000011.4021.001.001.00
##00000011.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB38
Deuteranopia (green-blind)
#D6C24F
Tritanopia (blue-blind)
#DFB4A8
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d0c148;
/* rgb */ color: rgb(208, 193, 72);
/* oklch */ color: oklch(80.1% 0.140 102.2);
Tailwind
colors: {
  custom: {
    50: '#e2d381',
    500: '#d0c148',
    950: '#000000',
  },
}
SCSS
$custom: #d0c148;
$custom-light: #e2d381;
$custom-dark: #000000;
JSON
{
  "hex": "#d0c148",
  "rgb": {
    "r": 208,
    "g": 193,
    "b": 72
  },
  "hsl": {
    "h": 53.382,
    "s": 59.13,
    "l": 54.902
  },
  "oklch": {
    "l": 0.80122,
    "c": 0.13995,
    "h": 102.2
  },
  "luminance": 0.52018
}

Semantic roles & 50–950 ramp

primary
#D0C148
secondary
#374085
accent
#57E245
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D0C148

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

Preview Lab → · Contrast checker → · Palette generator →

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