#DFD758#DFD758

#DFD758 is a very light, vivid yellow. Relative luminance 0.650; OKLCH L 86.2% C 0.147 H 105.7°. Best body text is #000000 at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#DFD758
RGBrgb(223, 215, 88)
HSLhsl(56, 68%, 61%)
HSVhsv(56, 61%, 87%)
CMYKcmyk(0%, 3.6%, 60.5%, 12.5%)
CIE-LABlab(84.48, -12.71, 61.88)
CIE-LCHlch(84.48, 63.17, 101.61°)
OKLaboklab(86.18% -0.0397 0.1415)
OKLCHoklch(86.18% 0.147 105.7)
XYZxyz(56.4952, 64.9953, 18.8000)
Luminance0.6499 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD758 #5860DF
analogous
#DF9358 #DFD758 #A4DF58
triadic
#DFD758 #58DFD7 #D758DF
tetradic
#DFD758 #58DF93 #5860DF #DF58A4
square
#DFD758 #58DF93 #5860DF #DF58A4
split-complementary
#DFD758 #58A4DF #9358DF
monochromatic
#9E971E #D2C828 #DFD758 #E9E38B #F3F0BF

Accessibility & contrast

On white

1.50
#DFD758 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.00
#DFD758 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD758
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD758#FFFFFF#000000##000000
##DFD7581.001.5014.0014.00
#FFFFFF1.501.0021.0021.00
#00000014.0021.001.001.00
##00000014.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D049
Deuteranopia (green-blind)
#EBD55F
Tritanopia (blue-blind)
#EECABC
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #dfd758;
/* rgb */ color: rgb(223, 215, 88);
/* oklch */ color: oklch(86.2% 0.147 105.7);
Tailwind
colors: {
  custom: {
    50: '#ece38c',
    500: '#dfd758',
    950: '#000000',
  },
}
SCSS
$custom: #dfd758;
$custom-light: #ece38c;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd758",
  "rgb": {
    "r": 223,
    "g": 215,
    "b": 88
  },
  "hsl": {
    "h": 56.444,
    "s": 67.839,
    "l": 60.98
  },
  "oklch": {
    "l": 0.86184,
    "c": 0.14699,
    "h": 105.7
  },
  "luminance": 0.64993
}

Semantic roles & 50–950 ramp

primary
#DFD758
secondary
#3A40A2
accent
#21D016
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DFD758

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

Preview Lab → · Contrast checker → · Palette generator →

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