#DFD95F#DFD95F

#DFD95F is a very light, vivid yellow. Relative luminance 0.661; OKLCH L 86.7% C 0.143 H 106.4°. Best body text is #000000 at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#DFD95F
RGBrgb(223, 217, 95)
HSLhsl(57, 67%, 62%)
HSVhsv(57, 57%, 87%)
CMYKcmyk(0%, 2.7%, 57.4%, 12.5%)
CIE-LABlab(85.07, -13.23, 59.49)
CIE-LCHlch(85.07, 60.95, 102.53°)
OKLaboklab(86.67% -0.0404 0.1374)
OKLCHoklch(86.67% 0.143 106.4)
XYZxyz(57.3116, 66.1417, 20.5719)
Luminance0.6614 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD95F #5F65DF
analogous
#DF995F #DFD95F #A5DF5F
triadic
#DFD95F #5FDFD9 #D95FDF
tetradic
#DFD95F #5FDF99 #5F65DF #DF5FA5
square
#DFD95F #5FDF99 #5F65DF #DF5FA5
split-complementary
#DFD95F #5FA5DF #995FDF
monochromatic
#A39D21 #D5CD2C #DFD95F #E9E592 #F3F1C5

Accessibility & contrast

On white

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

On black

14.23
#DFD95F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD95F
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD95F#FFFFFF#000000##000000
##DFD95F1.001.4814.2314.23
#FFFFFF1.481.0021.0021.00
#00000014.2321.001.001.00
##00000014.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD252
Deuteranopia (green-blind)
#ECD766
Tritanopia (blue-blind)
#EECCBF
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dfd95f;
/* rgb */ color: rgb(223, 217, 95);
/* oklch */ color: oklch(86.7% 0.143 106.4);
Tailwind
colors: {
  custom: {
    50: '#ece491',
    500: '#dfd95f',
    950: '#000000',
  },
}
SCSS
$custom: #dfd95f;
$custom-light: #ece491;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd95f",
  "rgb": {
    "r": 223,
    "g": 217,
    "b": 95
  },
  "hsl": {
    "h": 57.188,
    "s": 66.667,
    "l": 62.353
  },
  "oklch": {
    "l": 0.86671,
    "c": 0.14318,
    "h": 106.4
  },
  "luminance": 0.6614
}

Semantic roles & 50–950 ramp

primary
#DFD95F
secondary
#3C41A6
accent
#20CF17
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #DFD95F

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

Preview Lab → · Contrast checker → · Palette generator →

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