#DCCA4B#DCCA4B

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

Color values

HEX#DCCA4B
RGBrgb(220, 202, 75)
HSLhsl(53, 67%, 58%)
HSVhsv(53, 66%, 86%)
CMYKcmyk(0%, 8.2%, 65.9%, 13.7%)
CIE-LABlab(80.72, -8.20, 63.21)
CIE-LCHlch(80.72, 63.74, 97.39°)
OKLaboklab(83.1% -0.0282 0.1425)
OKLCHoklch(83.1% 0.145 101.2)
XYZxyz(51.9079, 57.9669, 15.1098)
Luminance0.5796 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCCA4B #4B5DDC
analogous
#DC824B #DCCA4B #A5DC4B
triadic
#DCCA4B #4BDCCA #CA4BDC
tetradic
#DCCA4B #4BDC82 #4B5DDC #DC4BA5
square
#DCCA4B #4BDC82 #4B5DDC #DC4BA5
split-complementary
#DCCA4B #4BA5DC #824BDC
monochromatic
#91821C #C4B026 #DCCA4B #E6D97E #F0E8B1

Accessibility & contrast

On white

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

On black

12.59
#DCCA4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCCA4B
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCCA4B#FFFFFF#000000##000000
##DCCA4B1.001.6712.5912.59
#FFFFFF1.671.0021.0021.00
#00000012.5921.001.001.00
##00000012.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcca4b;
/* rgb */ color: rgb(220, 202, 75);
/* oklch */ color: oklch(83.1% 0.145 101.2);
Tailwind
colors: {
  custom: {
    50: '#ead984',
    500: '#dcca4b',
    950: '#000000',
  },
}
SCSS
$custom: #dcca4b;
$custom-light: #ead984;
$custom-dark: #000000;
JSON
{
  "hex": "#dcca4b",
  "rgb": {
    "r": 220,
    "g": 202,
    "b": 75
  },
  "hsl": {
    "h": 52.552,
    "s": 67.442,
    "l": 57.843
  },
  "oklch": {
    "l": 0.831,
    "c": 0.14529,
    "h": 101.2
  },
  "luminance": 0.57965
}

Semantic roles & 50–950 ramp

primary
#DCCA4B
secondary
#364296
accent
#53EA3D
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DCCA4B

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

Preview Lab → · Contrast checker → · Palette generator →

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