#DFBC51#DFBC51

#DFBC51 is a light, vivid yellow. Relative luminance 0.522; OKLCH L 80.6% C 0.131 H 91.0°. Best body text is #000000 at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#DFBC51
RGBrgb(223, 188, 81)
HSLhsl(45, 69%, 60%)
HSVhsv(45, 64%, 87%)
CMYKcmyk(0%, 15.7%, 63.7%, 12.5%)
CIE-LABlab(77.43, 0.65, 57.25)
CIE-LCHlch(77.43, 57.25, 89.35°)
OKLaboklab(80.58% -0.0023 0.1307)
OKLCHoklch(80.58% 0.131 91)
XYZxyz(49.9023, 52.2513, 15.2400)
Luminance0.5225 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFBC51 #5174DF
analogous
#DF7551 #DFBC51 #BBDF51
triadic
#DFBC51 #51DFBC #BC51DF
tetradic
#DFBC51 #51DF75 #5174DF #DF51BB
square
#DFBC51 #51DF75 #5174DF #DF51BB
split-complementary
#DFBC51 #51BBDF #7551DF
monochromatic
#997B1C #CDA426 #DFBC51 #E9D085 #F2E4B8

Accessibility & contrast

On white

1.83
#DFBC51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.45
#DFBC51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFBC51
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFBC51#FFFFFF#000000##000000
##DFBC511.001.8311.4511.45
#FFFFFF1.831.0021.0021.00
#00000011.4521.001.001.00
##00000011.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB945
Deuteranopia (green-blind)
#D8C356
Tritanopia (blue-blind)
#F0AEA5
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #dfbc51;
/* rgb */ color: rgb(223, 188, 81);
/* oklch */ color: oklch(80.6% 0.131 91.0);
Tailwind
colors: {
  custom: {
    50: '#eccf86',
    500: '#dfbc51',
    950: '#000000',
  },
}
SCSS
$custom: #dfbc51;
$custom-light: #eccf86;
$custom-dark: #000000;
JSON
{
  "hex": "#dfbc51",
  "rgb": {
    "r": 223,
    "g": 188,
    "b": 81
  },
  "hsl": {
    "h": 45.211,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.80576,
    "c": 0.13073,
    "h": 91
  },
  "luminance": 0.52248
}

Semantic roles & 50–950 ramp

primary
#DFBC51
secondary
#37509D
accent
#67EC3C
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17130B
muted
#85837E

Preview Lab

Preview with #DFBC51

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

Preview Lab → · Contrast checker → · Palette generator →

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