#DCCA4D#DCCA4D

#DCCA4D is a very light, vivid yellow. Relative luminance 0.580; OKLCH L 83.1% C 0.144 H 101.1°. Best body text is #000000 at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#DCCA4D
RGBrgb(220, 202, 77)
HSLhsl(52, 67%, 58%)
HSVhsv(52, 65%, 86%)
CMYKcmyk(0%, 8.2%, 65%, 13.7%)
CIE-LABlab(80.74, -8.09, 62.41)
CIE-LCHlch(80.74, 62.93, 97.38°)
OKLaboklab(83.12% -0.0276 0.1412)
OKLCHoklch(83.12% 0.144 101.1)
XYZxyz(51.9774, 57.9947, 15.4760)
Luminance0.5799 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCCA4D #4D5FDC
analogous
#DC834D #DCCA4D #A6DC4D
triadic
#DCCA4D #4DDCCA #CA4DDC
tetradic
#DCCA4D #4DDC83 #4D5FDC #DC4DA6
square
#DCCA4D #4DDC83 #4D5FDC #DC4DA6
split-complementary
#DCCA4D #4DA6DC #834DDC
monochromatic
#92831D #C5B127 #DCCA4D #E6D980 #F0E8B3

Accessibility & contrast

On white

1.67
#DCCA4D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.60
#DCCA4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCCA4D
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCCA4D#FFFFFF#000000##000000
##DCCA4D1.001.6712.6012.60
#FFFFFF1.671.0021.0021.00
#00000012.6021.001.001.00
##00000012.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC43D
Deuteranopia (green-blind)
#E1CC54
Tritanopia (blue-blind)
#ECBCB0
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #dcca4d;
/* rgb */ color: rgb(220, 202, 77);
/* oklch */ color: oklch(83.1% 0.144 101.1);
Tailwind
colors: {
  custom: {
    50: '#ead985',
    500: '#dcca4d',
    950: '#000000',
  },
}
SCSS
$custom: #dcca4d;
$custom-light: #ead985;
$custom-dark: #000000;
JSON
{
  "hex": "#dcca4d",
  "rgb": {
    "r": 220,
    "g": 202,
    "b": 77
  },
  "hsl": {
    "h": 52.448,
    "s": 67.136,
    "l": 58.235
  },
  "oklch": {
    "l": 0.83117,
    "c": 0.14383,
    "h": 101.1
  },
  "luminance": 0.57993
}

Semantic roles & 50–950 ramp

primary
#DCCA4D
secondary
#364397
accent
#53EA3E
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DCCA4D

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

Preview Lab → · Contrast checker → · Palette generator →

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