#DCCB5F#DCCB5F

#DCCB5F is a very light, vivid yellow. Relative luminance 0.588; OKLCH L 83.5% C 0.130 H 100.5°. Best body text is #000000 at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#DCCB5F
RGBrgb(220, 203, 95)
HSLhsl(52, 64%, 62%)
HSVhsv(52, 57%, 86%)
CMYKcmyk(0%, 7.7%, 56.8%, 13.7%)
CIE-LABlab(81.16, -7.40, 55.02)
CIE-LCHlch(81.16, 55.51, 97.66°)
OKLaboklab(83.5% -0.0236 0.1278)
OKLCHoklch(83.5% 0.13 100.5)
XYZxyz(52.9386, 58.7558, 19.3767)
Luminance0.5875 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCCB5F #5F70DC
analogous
#DC8D5F #DCCB5F #AFDC5F
triadic
#DCCB5F #5FDCCB #CB5FDC
tetradic
#DCCB5F #5FDC8D #5F70DC #DC5FAF
square
#DCCB5F #5FDC8D #5F70DC #DC5FAF
split-complementary
#DCCB5F #5FAFDC #8D5FDC
monochromatic
#9E8D23 #D0BA2E #DCCB5F #E7DB91 #F2ECC3

Accessibility & contrast

On white

1.65
#DCCB5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.75
#DCCB5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCCB5F
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCCB5F#FFFFFF#000000##000000
##DCCB5F1.001.6512.7512.75
#FFFFFF1.651.0021.0021.00
#00000012.7521.001.001.00
##00000012.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC654
Deuteranopia (green-blind)
#E1CD64
Tritanopia (blue-blind)
#EBBEB3
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #dccb5f;
/* rgb */ color: rgb(220, 203, 95);
/* oklch */ color: oklch(83.5% 0.130 100.5);
Tailwind
colors: {
  custom: {
    50: '#e9da90',
    500: '#dccb5f',
    950: '#000000',
  },
}
SCSS
$custom: #dccb5f;
$custom-light: #e9da90;
$custom-dark: #000000;
JSON
{
  "hex": "#dccb5f",
  "rgb": {
    "r": 220,
    "g": 203,
    "b": 95
  },
  "hsl": {
    "h": 51.84,
    "s": 64.103,
    "l": 61.765
  },
  "oklch": {
    "l": 0.83503,
    "c": 0.12999,
    "h": 100.5
  },
  "luminance": 0.58754
}

Semantic roles & 50–950 ramp

primary
#DCCB5F
secondary
#3E4BA2
accent
#32CC1A
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F

Preview Lab

Preview with #DCCB5F

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

Preview Lab → · Contrast checker → · Palette generator →

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