#DCC55B#DCC55B

#DCC55B is a very light, vivid yellow. Relative luminance 0.559; OKLCH L 82.2% C 0.128 H 97.2°. Best body text is #000000 at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#DCC55B
RGBrgb(220, 197, 91)
HSLhsl(49, 65%, 61%)
HSVhsv(49, 59%, 86%)
CMYKcmyk(0%, 10.5%, 58.6%, 13.7%)
CIE-LABlab(79.56, -4.61, 55.03)
CIE-LCHlch(79.56, 55.23, 94.79°)
OKLaboklab(82.23% -0.0161 0.1274)
OKLCHoklch(82.23% 0.128 97.2)
XYZxyz(51.3718, 55.9058, 17.9804)
Luminance0.5590 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC55B #5B72DC
analogous
#DC845B #DCC55B #B2DC5B
triadic
#DCC55B #5BDCC5 #C55BDC
tetradic
#DCC55B #5BDC84 #5B72DC #DC5BB2
square
#DCC55B #5BDC84 #5B72DC #DC5BB2
split-complementary
#DCC55B #5BB2DC #845BDC
monochromatic
#9B8621 #CEB12C #DCC55B #E7D78D #F2E9C0

Accessibility & contrast

On white

1.72
#DCC55B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.18
#DCC55B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC55B
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC55B#FFFFFF#000000##000000
##DCC55B1.001.7212.1812.18
#FFFFFF1.721.0021.0021.00
#00000012.1821.001.001.00
##00000012.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C150
Deuteranopia (green-blind)
#DDC960
Tritanopia (blue-blind)
#ECB8AE
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #dcc55b;
/* rgb */ color: rgb(220, 197, 91);
/* oklch */ color: oklch(82.2% 0.128 97.2);
Tailwind
colors: {
  custom: {
    50: '#ead68d',
    500: '#dcc55b',
    950: '#000000',
  },
}
SCSS
$custom: #dcc55b;
$custom-light: #ead68d;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc55b",
  "rgb": {
    "r": 220,
    "g": 197,
    "b": 91
  },
  "hsl": {
    "h": 49.302,
    "s": 64.824,
    "l": 60.98
  },
  "oklch": {
    "l": 0.82225,
    "c": 0.1284,
    "h": 97.2
  },
  "luminance": 0.55903
}

Semantic roles & 50–950 ramp

primary
#DCC55B
secondary
#3C4E9F
accent
#39CD19
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #DCC55B

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

Preview Lab → · Contrast checker → · Palette generator →

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