#DFD958#DFD958

#DFD958 is a very light, vivid yellow. Relative luminance 0.660; OKLCH L 86.6% C 0.149 H 106.6°. Best body text is #000000 at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#DFD958
RGBrgb(223, 217, 88)
HSLhsl(57, 68%, 61%)
HSVhsv(57, 61%, 87%)
CMYKcmyk(0%, 2.7%, 60.5%, 12.5%)
CIE-LABlab(85.01, -13.71, 62.44)
CIE-LCHlch(85.01, 63.93, 102.38°)
OKLaboklab(86.6% -0.0426 0.1427)
OKLCHoklch(86.6% 0.149 106.6)
XYZxyz(57.0076, 66.0201, 18.9708)
Luminance0.6602 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD958 #585EDF
analogous
#DF9558 #DFD958 #A1DF58
triadic
#DFD958 #58DFD9 #D958DF
tetradic
#DFD958 #58DF95 #585EDF #DF58A1
square
#DFD958 #58DF95 #585EDF #DF58A1
split-complementary
#DFD958 #58A1DF #9558DF
monochromatic
#9E991E #D2CA28 #DFD958 #E9E58B #F3F0BF

Accessibility & contrast

On white

1.48
#DFD958 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.20
#DFD958 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD958
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD958#FFFFFF#000000##000000
##DFD9581.001.4814.2014.20
#FFFFFF1.481.0021.0021.00
#00000014.2021.001.001.00
##00000014.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD149
Deuteranopia (green-blind)
#EDD75F
Tritanopia (blue-blind)
#EECCBE
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dfd958;
/* rgb */ color: rgb(223, 217, 88);
/* oklch */ color: oklch(86.6% 0.149 106.6);
Tailwind
colors: {
  custom: {
    50: '#ece48c',
    500: '#dfd958',
    950: '#000000',
  },
}
SCSS
$custom: #dfd958;
$custom-light: #ece48c;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd958",
  "rgb": {
    "r": 223,
    "g": 217,
    "b": 88
  },
  "hsl": {
    "h": 57.333,
    "s": 67.839,
    "l": 60.98
  },
  "oklch": {
    "l": 0.86602,
    "c": 0.14894,
    "h": 106.6
  },
  "luminance": 0.66018
}

Semantic roles & 50–950 ramp

primary
#DFD958
secondary
#3A3EA2
accent
#1ED016
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DFD958

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

Preview Lab → · Contrast checker → · Palette generator →

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