#DCC254#DCC254

#DCC254 is a light, vivid yellow. Relative luminance 0.544; OKLCH L 81.5% C 0.132 H 96.0°. Best body text is #000000 at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#DCC254
RGBrgb(220, 194, 84)
HSLhsl(49, 66%, 60%)
HSVhsv(49, 62%, 86%)
CMYKcmyk(0%, 11.8%, 61.8%, 13.7%)
CIE-LABlab(78.72, -3.54, 57.25)
CIE-LCHlch(78.72, 57.35, 93.54°)
OKLaboklab(81.54% -0.0138 0.1312)
OKLCHoklch(81.54% 0.132 96)
XYZxyz(50.4094, 54.4417, 16.2389)
Luminance0.5444 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC254 #546EDC
analogous
#DC7E54 #DCC254 #B2DC54
triadic
#DCC254 #54DCC2 #C254DC
tetradic
#DCC254 #54DC7E #546EDC #DC54B2
square
#DCC254 #54DC7E #546EDC #DC54B2
split-complementary
#DCC254 #54B2DC #7E54DC
monochromatic
#97801F #CAAB29 #DCC254 #E6D487 #F1E6BA

Accessibility & contrast

On white

1.77
#DCC254 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.89
#DCC254 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC254
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC254#FFFFFF#000000##000000
##DCC2541.001.7711.8911.89
#FFFFFF1.771.0021.0021.00
#00000011.8921.001.001.00
##00000011.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BE48
Deuteranopia (green-blind)
#DBC659
Tritanopia (blue-blind)
#ECB4AA
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #dcc254;
/* rgb */ color: rgb(220, 194, 84);
/* oklch */ color: oklch(81.5% 0.132 96.0);
Tailwind
colors: {
  custom: {
    50: '#ead488',
    500: '#dcc254',
    950: '#000000',
  },
}
SCSS
$custom: #dcc254;
$custom-light: #ead488;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc254",
  "rgb": {
    "r": 220,
    "g": 194,
    "b": 84
  },
  "hsl": {
    "h": 48.529,
    "s": 66.019,
    "l": 59.608
  },
  "oklch": {
    "l": 0.81537,
    "c": 0.13194,
    "h": 96
  },
  "luminance": 0.54439
}

Semantic roles & 50–950 ramp

primary
#DCC254
secondary
#394C9B
accent
#5FE93F
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DCC254

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

Preview Lab → · Contrast checker → · Palette generator →

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