#DCBF48#DCBF48

#DCBF48 is a light, vivid yellow. Relative luminance 0.529; OKLCH L 80.8% C 0.139 H 95.3°. Best body text is #000000 at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#DCBF48
RGBrgb(220, 191, 72)
HSLhsl(48, 68%, 57%)
HSVhsv(48, 67%, 86%)
CMYKcmyk(0%, 13.2%, 67.3%, 13.7%)
CIE-LABlab(77.84, -2.72, 61.45)
CIE-LCHlch(77.84, 61.52, 92.53°)
OKLaboklab(80.81% -0.0128 0.1383)
OKLCHoklch(80.81% 0.139 95.3)
XYZxyz(49.3181, 52.9477, 13.7518)
Luminance0.5294 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCBF48 #4865DC
analogous
#DC7548 #DCBF48 #AFDC48
triadic
#DCBF48 #48DCBF #BF48DC
tetradic
#DCBF48 #48DC75 #4865DC #DC48AF
square
#DCBF48 #48DC75 #4865DC #DC48AF
split-complementary
#DCBF48 #48AFDC #7548DC
monochromatic
#8E781B #C2A325 #DCBF48 #E6D17B #F0E3AF

Accessibility & contrast

On white

1.81
#DCBF48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.59
#DCBF48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCBF48
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCBF48#FFFFFF#000000##000000
##DCBF481.001.8111.5911.59
#FFFFFF1.811.0021.0021.00
#00000011.5921.001.001.00
##00000011.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB39
Deuteranopia (green-blind)
#D9C44E
Tritanopia (blue-blind)
#EDB1A6
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #dcbf48;
/* rgb */ color: rgb(220, 191, 72);
/* oklch */ color: oklch(80.8% 0.139 95.3);
Tailwind
colors: {
  custom: {
    50: '#ebd281',
    500: '#dcbf48',
    950: '#000000',
  },
}
SCSS
$custom: #dcbf48;
$custom-light: #ebd281;
$custom-dark: #000000;
JSON
{
  "hex": "#dcbf48",
  "rgb": {
    "r": 220,
    "g": 191,
    "b": 72
  },
  "hsl": {
    "h": 48.243,
    "s": 67.89,
    "l": 57.255
  },
  "oklch": {
    "l": 0.80813,
    "c": 0.13893,
    "h": 95.3
  },
  "luminance": 0.52945
}

Semantic roles & 50–950 ramp

primary
#DCBF48
secondary
#354794
accent
#5FEB3D
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DCBF48

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

Preview Lab → · Contrast checker → · Palette generator →

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