#DCC148#DCC148

#DCC148 is a light, vivid yellow. Relative luminance 0.538; OKLCH L 81.2% C 0.140 H 96.5°. Best body text is #000000 at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#DCC148
RGBrgb(220, 193, 72)
HSLhsl(49, 68%, 57%)
HSVhsv(49, 67%, 86%)
CMYKcmyk(0%, 12.3%, 67.3%, 13.7%)
CIE-LABlab(78.36, -3.75, 61.99)
CIE-LCHlch(78.36, 62.10, 93.46°)
OKLaboklab(81.22% -0.0158 0.1395)
OKLCHoklch(81.22% 0.14 96.5)
XYZxyz(49.7572, 53.8260, 13.8982)
Luminance0.5382 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC148 #4863DC
analogous
#DC7748 #DCC148 #ADDC48
triadic
#DCC148 #48DCC1 #C148DC
tetradic
#DCC148 #48DC77 #4863DC #DC48AD
square
#DCC148 #48DC77 #4863DC #DC48AD
split-complementary
#DCC148 #48ADDC #7748DC
monochromatic
#8E791B #C2A525 #DCC148 #E6D27B #F0E4AF

Accessibility & contrast

On white

1.79
#DCC148 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.76
#DCC148 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC148
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC148#FFFFFF#000000##000000
##DCC1481.001.7911.7611.76
#FFFFFF1.791.0021.0021.00
#00000011.7621.001.001.00
##00000011.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD38
Deuteranopia (green-blind)
#DBC64F
Tritanopia (blue-blind)
#EDB3A8
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #dcc148;
/* rgb */ color: rgb(220, 193, 72);
/* oklch */ color: oklch(81.2% 0.140 96.5);
Tailwind
colors: {
  custom: {
    50: '#ead381',
    500: '#dcc148',
    950: '#000000',
  },
}
SCSS
$custom: #dcc148;
$custom-light: #ead381;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc148",
  "rgb": {
    "r": 220,
    "g": 193,
    "b": 72
  },
  "hsl": {
    "h": 49.054,
    "s": 67.89,
    "l": 57.255
  },
  "oklch": {
    "l": 0.81221,
    "c": 0.14035,
    "h": 96.5
  },
  "luminance": 0.53823
}

Semantic roles & 50–950 ramp

primary
#DCC148
secondary
#354694
accent
#5DEB3D
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DCC148

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

Preview Lab → · Contrast checker → · Palette generator →

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