#DFCB52#DFCB52

#DFCB52 is a very light, vivid yellow. Relative luminance 0.590; OKLCH L 83.6% C 0.141 H 99.9°. Best body text is #000000 at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#DFCB52
RGBrgb(223, 203, 82)
HSLhsl(51, 69%, 60%)
HSVhsv(51, 63%, 87%)
CMYKcmyk(0%, 9%, 63.2%, 12.5%)
CIE-LABlab(81.30, -7.04, 60.99)
CIE-LCHlch(81.30, 61.40, 96.58°)
OKLaboklab(83.64% -0.0242 0.1388)
OKLCHoklch(83.64% 0.141 99.9)
XYZxyz(53.3126, 59.0114, 16.5631)
Luminance0.5901 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFCB52 #5266DF
analogous
#DF8452 #DFCB52 #ADDF52
triadic
#DFCB52 #52DFCB #CB52DF
tetradic
#DFCB52 #52DF84 #5266DF #DF52AD
square
#DFCB52 #52DF84 #5266DF #DF52AD
split-complementary
#DFCB52 #52ADDF #8452DF
monochromatic
#9A881D #CEB626 #DFCB52 #E9DB86 #F2EAB9

Accessibility & contrast

On white

1.64
#DFCB52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.80
#DFCB52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFCB52
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFCB52#FFFFFF#000000##000000
##DFCB521.001.6412.8012.80
#FFFFFF1.641.0021.0021.00
#00000012.8021.001.001.00
##00000012.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC644
Deuteranopia (green-blind)
#E3CD58
Tritanopia (blue-blind)
#EFBDB1
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #dfcb52;
/* rgb */ color: rgb(223, 203, 82);
/* oklch */ color: oklch(83.6% 0.141 99.9);
Tailwind
colors: {
  custom: {
    50: '#ecda88',
    500: '#dfcb52',
    950: '#000000',
  },
}
SCSS
$custom: #dfcb52;
$custom-light: #ecda88;
$custom-dark: #000000;
JSON
{
  "hex": "#dfcb52",
  "rgb": {
    "r": 223,
    "g": 203,
    "b": 82
  },
  "hsl": {
    "h": 51.489,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.83638,
    "c": 0.14091,
    "h": 99.9
  },
  "luminance": 0.59009
}

Semantic roles & 50–950 ramp

primary
#DFCB52
secondary
#37469E
accent
#55EC3C
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DFCB52

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

Preview Lab → · Contrast checker → · Palette generator →

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