#DFCB51#DFCB51

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

Color values

HEX#DFCB51
RGBrgb(223, 203, 81)
HSLhsl(52, 69%, 60%)
HSVhsv(52, 64%, 87%)
CMYKcmyk(0%, 9%, 63.7%, 12.5%)
CIE-LABlab(81.29, -7.10, 61.41)
CIE-LCHlch(81.29, 61.81, 96.59°)
OKLaboklab(83.63% -0.0245 0.1395)
OKLCHoklch(83.63% 0.142 100)
XYZxyz(53.2748, 58.9962, 16.3642)
Luminance0.5899 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFCB51 #5165DF
analogous
#DF8451 #DFCB51 #ACDF51
triadic
#DFCB51 #51DFCB #CB51DF
tetradic
#DFCB51 #51DF84 #5165DF #DF51AC
square
#DFCB51 #51DF84 #5165DF #DF51AC
split-complementary
#DFCB51 #51ACDF #8451DF
monochromatic
#99881C #CDB626 #DFCB51 #E9DA85 #F2EAB8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DFCB51#FFFFFF#000000##000000
##DFCB511.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)
#DDC642
Deuteranopia (green-blind)
#E3CD58
Tritanopia (blue-blind)
#EFBDB1
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #dfcb51;
/* rgb */ color: rgb(223, 203, 81);
/* oklch */ color: oklch(83.6% 0.142 100.0);
Tailwind
colors: {
  custom: {
    50: '#ecda87',
    500: '#dfcb51',
    950: '#000000',
  },
}
SCSS
$custom: #dfcb51;
$custom-light: #ecda87;
$custom-dark: #000000;
JSON
{
  "hex": "#dfcb51",
  "rgb": {
    "r": 223,
    "g": 203,
    "b": 81
  },
  "hsl": {
    "h": 51.549,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.83629,
    "c": 0.14168,
    "h": 100
  },
  "luminance": 0.58994
}

Semantic roles & 50–950 ramp

primary
#DFCB51
secondary
#37459D
accent
#55EC3C
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DFCB51

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

Preview Lab → · Contrast checker → · Palette generator →

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