#DFCB57#DFCB57

#DFCB57 is a very light, vivid yellow. Relative luminance 0.591; OKLCH L 83.7% C 0.137 H 99.6°. Best body text is #000000 at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#DFCB57
RGBrgb(223, 203, 87)
HSLhsl(51, 68%, 61%)
HSVhsv(51, 61%, 87%)
CMYKcmyk(0%, 9%, 61%, 12.5%)
CIE-LABlab(81.34, -6.72, 58.88)
CIE-LCHlch(81.34, 59.26, 96.51°)
OKLaboklab(83.69% -0.0227 0.135)
OKLCHoklch(83.69% 0.137 99.6)
XYZxyz(53.5098, 59.0903, 17.6019)
Luminance0.5909 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFCB57 #576BDF
analogous
#DF8757 #DFCB57 #AFDF57
triadic
#DFCB57 #57DFCB #CB57DF
tetradic
#DFCB57 #57DF87 #576BDF #DF57AF
square
#DFCB57 #57DF87 #576BDF #DF57AF
split-complementary
#DFCB57 #57AFDF #8757DF
monochromatic
#9E8B1E #D1B828 #DFCB57 #E9DB8A #F3EBBE

Accessibility & contrast

On white

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

On black

12.82
#DFCB57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFCB57
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFCB57#FFFFFF#000000##000000
##DFCB571.001.6412.8212.82
#FFFFFF1.641.0021.0021.00
#00000012.8221.001.001.00
##00000012.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC64A
Deuteranopia (green-blind)
#E2CD5D
Tritanopia (blue-blind)
#EFBEB2
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #dfcb57;
/* rgb */ color: rgb(223, 203, 87);
/* oklch */ color: oklch(83.7% 0.137 99.6);
Tailwind
colors: {
  custom: {
    50: '#ecda8b',
    500: '#dfcb57',
    950: '#000000',
  },
}
SCSS
$custom: #dfcb57;
$custom-light: #ecda8b;
$custom-dark: #000000;
JSON
{
  "hex": "#dfcb57",
  "rgb": {
    "r": 223,
    "g": 203,
    "b": 87
  },
  "hsl": {
    "h": 51.176,
    "s": 68,
    "l": 60.784
  },
  "oklch": {
    "l": 0.83686,
    "c": 0.13692,
    "h": 99.6
  },
  "luminance": 0.59088
}

Semantic roles & 50–950 ramp

primary
#DFCB57
secondary
#3948A1
accent
#31D016
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DFCB57

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

Preview Lab → · Contrast checker → · Palette generator →

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