#DFCA58#DFCA58

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

Color values

HEX#DFCA58
RGBrgb(223, 202, 88)
HSLhsl(51, 68%, 61%)
HSVhsv(51, 61%, 87%)
CMYKcmyk(0%, 9.4%, 60.5%, 12.5%)
CIE-LABlab(81.09, -6.14, 58.16)
CIE-LCHlch(81.09, 58.49, 96.02°)
OKLaboklab(83.49% -0.021 0.1336)
OKLCHoklch(83.49% 0.135 98.9)
XYZxyz(53.3155, 58.6359, 17.7401)
Luminance0.5863 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFCA58 #586DDF
analogous
#DF8658 #DFCA58 #B0DF58
triadic
#DFCA58 #58DFCA #CA58DF
tetradic
#DFCA58 #58DF86 #586DDF #DF58B0
square
#DFCA58 #58DF86 #586DDF #DF58B0
split-complementary
#DFCA58 #58B0DF #8658DF
monochromatic
#9E8A1E #D2B728 #DFCA58 #E9DA8B #F3EBBF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DFCA58#FFFFFF#000000##000000
##DFCA581.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)
#DCC54C
Deuteranopia (green-blind)
#E2CD5E
Tritanopia (blue-blind)
#EFBDB1
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #dfca58;
/* rgb */ color: rgb(223, 202, 88);
/* oklch */ color: oklch(83.5% 0.135 98.9);
Tailwind
colors: {
  custom: {
    50: '#ecd98b',
    500: '#dfca58',
    950: '#000000',
  },
}
SCSS
$custom: #dfca58;
$custom-light: #ecd98b;
$custom-dark: #000000;
JSON
{
  "hex": "#dfca58",
  "rgb": {
    "r": 223,
    "g": 202,
    "b": 88
  },
  "hsl": {
    "h": 50.667,
    "s": 67.839,
    "l": 60.98
  },
  "oklch": {
    "l": 0.83491,
    "c": 0.13527,
    "h": 98.9
  },
  "luminance": 0.58634
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DFCA58

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

Preview Lab → · Contrast checker → · Palette generator →

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