#DCBF39#DCBF39

#DCBF39 is a light, vivid yellow. Relative luminance 0.528; OKLCH L 80.7% C 0.149 H 96.4°. Best body text is #000000 at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#DCBF39
RGBrgb(220, 191, 57)
HSLhsl(49, 70%, 54%)
HSVhsv(49, 74%, 86%)
CMYKcmyk(0%, 13.2%, 74.1%, 13.7%)
CIE-LABlab(77.74, -3.45, 67.14)
CIE-LCHlch(77.74, 67.22, 92.94°)
OKLaboklab(80.7% -0.0166 0.1477)
OKLCHoklch(80.7% 0.149 96.4)
XYZxyz(48.8871, 52.7753, 11.4818)
Luminance0.5277 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCBF39 #3956DC
analogous
#DC6E39 #DCBF39 #A8DC39
triadic
#DCBF39 #39DCBF #BF39DC
tetradic
#DCBF39 #39DC6E #3956DC #DC39A8
square
#DCBF39 #39DC6E #3956DC #DC39A8
split-complementary
#DCBF39 #39A8DC #6E39DC
monochromatic
#837017 #B79D20 #DCBF39 #E5D06D #EEE1A1

Accessibility & contrast

On white

1.82
#DCBF39 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.55
#DCBF39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCBF39
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCBF39#FFFFFF#000000##000000
##DCBF391.001.8211.5511.55
#FFFFFF1.821.0021.0021.00
#00000011.5521.001.001.00
##00000011.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB21
Deuteranopia (green-blind)
#DAC441
Tritanopia (blue-blind)
#EEB0A5
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #dcbf39;
/* rgb */ color: rgb(220, 191, 57);
/* oklch */ color: oklch(80.7% 0.149 96.4);
Tailwind
colors: {
  custom: {
    50: '#ebd179',
    500: '#dcbf39',
    950: '#000000',
  },
}
SCSS
$custom: #dcbf39;
$custom-light: #ebd179;
$custom-dark: #000000;
JSON
{
  "hex": "#dcbf39",
  "rgb": {
    "r": 220,
    "g": 191,
    "b": 57
  },
  "hsl": {
    "h": 49.325,
    "s": 69.957,
    "l": 54.314
  },
  "oklch": {
    "l": 0.807,
    "c": 0.14861,
    "h": 96.4
  },
  "luminance": 0.52773
}

Semantic roles & 50–950 ramp

primary
#DCBF39
secondary
#2F3F8A
accent
#5BED3B
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #DCBF39

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

Preview Lab → · Contrast checker → · Palette generator →

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