#DFBC52#DFBC52

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

Color values

HEX#DFBC52
RGBrgb(223, 188, 82)
HSLhsl(45, 69%, 60%)
HSVhsv(45, 63%, 87%)
CMYKcmyk(0%, 15.7%, 63.2%, 12.5%)
CIE-LABlab(77.44, 0.71, 56.81)
CIE-LCHlch(77.44, 56.82, 89.29°)
OKLaboklab(80.59% -0.002 0.1299)
OKLCHoklch(80.59% 0.13 90.9)
XYZxyz(49.9401, 52.2664, 15.4390)
Luminance0.5226 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFBC52 #5275DF
analogous
#DF7552 #DFBC52 #BCDF52
triadic
#DFBC52 #52DFBC #BC52DF
tetradic
#DFBC52 #52DF75 #5275DF #DF52BC
square
#DFBC52 #52DF75 #5275DF #DF52BC
split-complementary
#DFBC52 #52BCDF #7552DF
monochromatic
#9A7B1D #CEA426 #DFBC52 #E9D086 #F2E4B9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DFBC52#FFFFFF#000000##000000
##DFBC521.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)
#CFBA46
Deuteranopia (green-blind)
#D8C457
Tritanopia (blue-blind)
#F0AEA5
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #dfbc52;
/* rgb */ color: rgb(223, 188, 82);
/* oklch */ color: oklch(80.6% 0.130 90.9);
Tailwind
colors: {
  custom: {
    50: '#eccf87',
    500: '#dfbc52',
    950: '#000000',
  },
}
SCSS
$custom: #dfbc52;
$custom-light: #eccf87;
$custom-dark: #000000;
JSON
{
  "hex": "#dfbc52",
  "rgb": {
    "r": 223,
    "g": 188,
    "b": 82
  },
  "hsl": {
    "h": 45.106,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.80586,
    "c": 0.12995,
    "h": 90.9
  },
  "luminance": 0.52264
}

Semantic roles & 50–950 ramp

primary
#DFBC52
secondary
#37519E
accent
#68EC3C
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17130B
muted
#85837E

Preview Lab

Preview with #DFBC52

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

Preview Lab → · Contrast checker → · Palette generator →

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