#DFC558#DFC558

#DFC558 is a very light, vivid yellow. Relative luminance 0.563; OKLCH L 82.5% C 0.131 H 96.0°. Best body text is #000000 at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#DFC558
RGBrgb(223, 197, 88)
HSLhsl(48, 68%, 61%)
HSVhsv(48, 61%, 87%)
CMYKcmyk(0%, 11.7%, 60.5%, 12.5%)
CIE-LABlab(79.80, -3.57, 56.73)
CIE-LCHlch(79.80, 56.84, 93.60°)
OKLaboklab(82.47% -0.0136 0.1306)
OKLCHoklch(82.47% 0.131 96)
XYZxyz(52.1613, 56.3275, 17.3554)
Luminance0.5633 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC558 #5872DF
analogous
#DF8158 #DFC558 #B6DF58
triadic
#DFC558 #58DFC5 #C558DF
tetradic
#DFC558 #58DF81 #5872DF #DF58B6
square
#DFC558 #58DF81 #5872DF #DF58B6
split-complementary
#DFC558 #58B6DF #8158DF
monochromatic
#9E861E #D2B128 #DFC558 #E9D78B #F3E9BF

Accessibility & contrast

On white

1.71
#DFC558 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.27
#DFC558 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC558
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC558#FFFFFF#000000##000000
##DFC5581.001.7112.2712.27
#FFFFFF1.711.0021.0021.00
#00000012.2721.001.001.00
##00000012.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C14C
Deuteranopia (green-blind)
#DEC95D
Tritanopia (blue-blind)
#EFB7AD
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #dfc558;
/* rgb */ color: rgb(223, 197, 88);
/* oklch */ color: oklch(82.5% 0.131 96.0);
Tailwind
colors: {
  custom: {
    50: '#ecd68b',
    500: '#dfc558',
    950: '#000000',
  },
}
SCSS
$custom: #dfc558;
$custom-light: #ecd68b;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc558",
  "rgb": {
    "r": 223,
    "g": 197,
    "b": 88
  },
  "hsl": {
    "h": 48.444,
    "s": 67.839,
    "l": 60.98
  },
  "oklch": {
    "l": 0.82468,
    "c": 0.13129,
    "h": 96
  },
  "luminance": 0.56325
}

Semantic roles & 50–950 ramp

primary
#DFC558
secondary
#3A4EA2
accent
#3AD016
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DFC558

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

Preview Lab → · Contrast checker → · Palette generator →

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