#DFCA59#DFCA59

#DFCA59 is a very light, vivid yellow. Relative luminance 0.587; OKLCH L 83.5% C 0.134 H 98.8°. Best body text is #000000 at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#DFCA59
RGBrgb(223, 202, 89)
HSLhsl(51, 68%, 61%)
HSVhsv(51, 60%, 87%)
CMYKcmyk(0%, 9.4%, 60.1%, 12.5%)
CIE-LABlab(81.10, -6.07, 57.73)
CIE-LCHlch(81.10, 58.05, 96.00°)
OKLaboklab(83.5% -0.0207 0.1328)
OKLCHoklch(83.5% 0.134 98.8)
XYZxyz(53.3573, 58.6526, 17.9598)
Luminance0.5865 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFCA59 #596EDF
analogous
#DF8759 #DFCA59 #B1DF59
triadic
#DFCA59 #59DFCA #CA59DF
tetradic
#DFCA59 #59DF87 #596EDF #DF59B1
square
#DFCA59 #59DF87 #596EDF #DF59B1
split-complementary
#DFCA59 #59B1DF #8759DF
monochromatic
#9F8B1F #D2B829 #DFCA59 #E9DA8C #F3EBC0

Accessibility & contrast

On white

1.65
#DFCA59 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.73
#DFCA59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFCA59
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFCA59#FFFFFF#000000##000000
##DFCA591.001.6512.7312.73
#FFFFFF1.651.0021.0021.00
#00000012.7321.001.001.00
##00000012.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC54D
Deuteranopia (green-blind)
#E1CD5F
Tritanopia (blue-blind)
#EFBDB1
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #dfca59;
/* rgb */ color: rgb(223, 202, 89);
/* oklch */ color: oklch(83.5% 0.134 98.8);
Tailwind
colors: {
  custom: {
    50: '#ecd98c',
    500: '#dfca59',
    950: '#000000',
  },
}
SCSS
$custom: #dfca59;
$custom-light: #ecd98c;
$custom-dark: #000000;
JSON
{
  "hex": "#dfca59",
  "rgb": {
    "r": 223,
    "g": 202,
    "b": 89
  },
  "hsl": {
    "h": 50.597,
    "s": 67.677,
    "l": 61.176
  },
  "oklch": {
    "l": 0.83501,
    "c": 0.13444,
    "h": 98.8
  },
  "luminance": 0.5865
}

Semantic roles & 50–950 ramp

primary
#DFCA59
secondary
#3A4AA2
accent
#33D016
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DFCA59

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

Preview Lab → · Contrast checker → · Palette generator →

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