#DFCA57#DFCA57

#DFCA57 is a very light, vivid yellow. Relative luminance 0.586; OKLCH L 83.5% C 0.136 H 99.0°. Best body text is #000000 at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#DFCA57
RGBrgb(223, 202, 87)
HSLhsl(51, 68%, 61%)
HSVhsv(51, 61%, 87%)
CMYKcmyk(0%, 9.4%, 61%, 12.5%)
CIE-LABlab(81.08, -6.20, 58.59)
CIE-LCHlch(81.08, 58.92, 96.04°)
OKLaboklab(83.48% -0.0213 0.1344)
OKLCHoklch(83.48% 0.136 99)
XYZxyz(53.2744, 58.6195, 17.5235)
Luminance0.5862 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFCA57 #576CDF
analogous
#DF8657 #DFCA57 #B0DF57
triadic
#DFCA57 #57DFCA #CA57DF
tetradic
#DFCA57 #57DF86 #576CDF #DF57B0
square
#DFCA57 #57DF86 #576CDF #DF57B0
split-complementary
#DFCA57 #57B0DF #8657DF
monochromatic
#9E8A1E #D1B728 #DFCA57 #E9DA8A #F3EABE

Accessibility & contrast

On white

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

On black

12.72
#DFCA57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFCA57
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFCA57#FFFFFF#000000##000000
##DFCA571.001.6512.7212.72
#FFFFFF1.651.0021.0021.00
#00000012.7221.001.001.00
##00000012.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dfca57;
/* rgb */ color: rgb(223, 202, 87);
/* oklch */ color: oklch(83.5% 0.136 99.0);
Tailwind
colors: {
  custom: {
    50: '#ecd98b',
    500: '#dfca57',
    950: '#000000',
  },
}
SCSS
$custom: #dfca57;
$custom-light: #ecd98b;
$custom-dark: #000000;
JSON
{
  "hex": "#dfca57",
  "rgb": {
    "r": 223,
    "g": 202,
    "b": 87
  },
  "hsl": {
    "h": 50.735,
    "s": 68,
    "l": 60.784
  },
  "oklch": {
    "l": 0.83481,
    "c": 0.1361,
    "h": 99
  },
  "luminance": 0.58617
}

Semantic roles & 50–950 ramp

primary
#DFCA57
secondary
#3949A1
accent
#32D016
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DFCA57

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

Preview Lab → · Contrast checker → · Palette generator →

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