#DFCB4F#DFCB4F

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

Color values

HEX#DFCB4F
RGBrgb(223, 203, 79)
HSLhsl(52, 69%, 59%)
HSVhsv(52, 65%, 87%)
CMYKcmyk(0%, 9%, 64.6%, 12.5%)
CIE-LABlab(81.27, -7.22, 62.23)
CIE-LCHlch(81.27, 62.65, 96.62°)
OKLaboklab(83.61% -0.0251 0.141)
OKLCHoklch(83.61% 0.143 100.1)
XYZxyz(53.2009, 58.9667, 15.9750)
Luminance0.5896 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFCB4F #4F63DF
analogous
#DF834F #DFCB4F #ABDF4F
triadic
#DFCB4F #4FDFCB #CB4FDF
tetradic
#DFCB4F #4FDF83 #4F63DF #DF4FAB
square
#DFCB4F #4FDF83 #4F63DF #DF4FAB
split-complementary
#DFCB4F #4FABDF #834FDF
monochromatic
#98871C #CCB525 #DFCB4F #E8DA83 #F2EAB7

Accessibility & contrast

On white

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

On black

12.79
#DFCB4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFCB4F
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFCB4F#FFFFFF#000000##000000
##DFCB4F1.001.6412.7912.79
#FFFFFF1.641.0021.0021.00
#00000012.7921.001.001.00
##00000012.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dfcb4f;
/* rgb */ color: rgb(223, 203, 79);
/* oklch */ color: oklch(83.6% 0.143 100.1);
Tailwind
colors: {
  custom: {
    50: '#ecda86',
    500: '#dfcb4f',
    950: '#000000',
  },
}
SCSS
$custom: #dfcb4f;
$custom-light: #ecda86;
$custom-dark: #000000;
JSON
{
  "hex": "#dfcb4f",
  "rgb": {
    "r": 223,
    "g": 203,
    "b": 79
  },
  "hsl": {
    "h": 51.667,
    "s": 69.231,
    "l": 59.216
  },
  "oklch": {
    "l": 0.83611,
    "c": 0.1432,
    "h": 100.1
  },
  "luminance": 0.58964
}

Semantic roles & 50–950 ramp

primary
#DFCB4F
secondary
#36449C
accent
#54EC3C
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#17140C
muted
#85837F

Preview Lab

Preview with #DFCB4F

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

Preview Lab → · Contrast checker → · Palette generator →

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