#DFD95E#DFD95E

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

Color values

HEX#DFD95E
RGBrgb(223, 217, 94)
HSLhsl(57, 67%, 62%)
HSVhsv(57, 58%, 87%)
CMYKcmyk(0%, 2.7%, 57.8%, 12.5%)
CIE-LABlab(85.06, -13.30, 59.92)
CIE-LCHlch(85.06, 61.38, 102.51°)
OKLaboklab(86.66% -0.0408 0.1381)
OKLCHoklch(86.66% 0.144 106.4)
XYZxyz(57.2665, 66.1236, 20.3340)
Luminance0.6612 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD95E #5E64DF
analogous
#DF985E #DFD95E #A5DF5E
triadic
#DFD95E #5EDFD9 #D95EDF
tetradic
#DFD95E #5EDF98 #5E64DF #DF5EA5
square
#DFD95E #5EDF98 #5E64DF #DF5EA5
split-complementary
#DFD95E #5EA5DF #985EDF
monochromatic
#A29C20 #D5CD2B #DFD95E #E9E591 #F3F1C4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DFD95E#FFFFFF#000000##000000
##DFD95E1.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)
#EAD251
Deuteranopia (green-blind)
#ECD765
Tritanopia (blue-blind)
#EECCBE
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dfd95e;
/* rgb */ color: rgb(223, 217, 94);
/* oklch */ color: oklch(86.7% 0.144 106.4);
Tailwind
colors: {
  custom: {
    50: '#ece490',
    500: '#dfd95e',
    950: '#000000',
  },
}
SCSS
$custom: #dfd95e;
$custom-light: #ece490;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd95e",
  "rgb": {
    "r": 223,
    "g": 217,
    "b": 94
  },
  "hsl": {
    "h": 57.209,
    "s": 66.839,
    "l": 62.157
  },
  "oklch": {
    "l": 0.86661,
    "c": 0.14403,
    "h": 106.4
  },
  "luminance": 0.66122
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DFD95E

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

Preview Lab → · Contrast checker → · Palette generator →

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