#DFD95A#DFD95A

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

Color values

HEX#DFD95A
RGBrgb(223, 217, 90)
HSLhsl(57, 68%, 61%)
HSVhsv(57, 60%, 87%)
CMYKcmyk(0%, 2.7%, 59.6%, 12.5%)
CIE-LABlab(85.02, -13.57, 61.61)
CIE-LCHlch(85.02, 63.09, 102.43°)
OKLaboklab(86.62% -0.042 0.1412)
OKLCHoklch(86.62% 0.147 106.6)
XYZxyz(57.0916, 66.0537, 19.4131)
Luminance0.6605 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD95A #5A60DF
analogous
#DF975A #DFD95A #A3DF5A
triadic
#DFD95A #5ADFD9 #D95ADF
tetradic
#DFD95A #5ADF97 #5A60DF #DF5AA3
square
#DFD95A #5ADF97 #5A60DF #DF5AA3
split-complementary
#DFD95A #5AA3DF #975ADF
monochromatic
#A09A1F #D3CB29 #DFD95A #E9E58D #F3F1C1

Accessibility & contrast

On white

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

On black

14.21
#DFD95A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD95A
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD95A#FFFFFF#000000##000000
##DFD95A1.001.4814.2114.21
#FFFFFF1.481.0021.0021.00
#00000014.2121.001.001.00
##00000014.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dfd95a;
/* rgb */ color: rgb(223, 217, 90);
/* oklch */ color: oklch(86.6% 0.147 106.6);
Tailwind
colors: {
  custom: {
    50: '#ece48e',
    500: '#dfd95a',
    950: '#000000',
  },
}
SCSS
$custom: #dfd95a;
$custom-light: #ece48e;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd95a",
  "rgb": {
    "r": 223,
    "g": 217,
    "b": 90
  },
  "hsl": {
    "h": 57.293,
    "s": 67.513,
    "l": 61.373
  },
  "oklch": {
    "l": 0.86621,
    "c": 0.14734,
    "h": 106.6
  },
  "luminance": 0.66052
}

Semantic roles & 50–950 ramp

primary
#DFD95A
secondary
#3A3FA3
accent
#1ECF16
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #DFD95A

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

Preview Lab → · Contrast checker → · Palette generator →

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