#DFD95D#DFD95D

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

Color values

HEX#DFD95D
RGBrgb(223, 217, 93)
HSLhsl(57, 67%, 62%)
HSVhsv(57, 58%, 87%)
CMYKcmyk(0%, 2.7%, 58.3%, 12.5%)
CIE-LABlab(85.05, -13.37, 60.35)
CIE-LCHlch(85.05, 61.81, 102.49°)
OKLaboklab(86.65% -0.0411 0.1389)
OKLCHoklch(86.65% 0.145 106.5)
XYZxyz(57.2219, 66.1058, 20.0993)
Luminance0.6610 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD95D #5D63DF
analogous
#DF985D #DFD95D #A4DF5D
triadic
#DFD95D #5DDFD9 #D95DDF
tetradic
#DFD95D #5DDF98 #5D63DF #DF5DA4
square
#DFD95D #5DDF98 #5D63DF #DF5DA4
split-complementary
#DFD95D #5DA4DF #985DDF
monochromatic
#A29C20 #D5CD2A #DFD95D #E9E590 #F3F1C3

Accessibility & contrast

On white

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

On black

14.22
#DFD95D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD95D
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD95D#FFFFFF#000000##000000
##DFD95D1.001.4814.2214.22
#FFFFFF1.481.0021.0021.00
#00000014.2221.001.001.00
##00000014.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dfd95d;
/* rgb */ color: rgb(223, 217, 93);
/* oklch */ color: oklch(86.7% 0.145 106.5);
Tailwind
colors: {
  custom: {
    50: '#ece48f',
    500: '#dfd95d',
    950: '#000000',
  },
}
SCSS
$custom: #dfd95d;
$custom-light: #ece48f;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd95d",
  "rgb": {
    "r": 223,
    "g": 217,
    "b": 93
  },
  "hsl": {
    "h": 57.231,
    "s": 67.01,
    "l": 61.961
  },
  "oklch": {
    "l": 0.86651,
    "c": 0.14487,
    "h": 106.5
  },
  "luminance": 0.66104
}

Semantic roles & 50–950 ramp

primary
#DFD95D
secondary
#3C40A5
accent
#1FCF17
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #DFD95D

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

Preview Lab → · Contrast checker → · Palette generator →

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