#DFC95D#DFC95D

#DFC95D is a very light, vivid yellow. Relative luminance 0.583; OKLCH L 83.3% C 0.130 H 97.9°. Best body text is #000000 at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#DFC95D
RGBrgb(223, 201, 93)
HSLhsl(50, 67%, 62%)
HSVhsv(50, 58%, 87%)
CMYKcmyk(0%, 9.9%, 58.3%, 12.5%)
CIE-LABlab(80.88, -5.28, 55.68)
CIE-LCHlch(80.88, 55.93, 95.41°)
OKLaboklab(83.34% -0.0179 0.129)
OKLCHoklch(83.34% 0.13 97.9)
XYZxyz(53.2959, 58.2539, 18.7906)
Luminance0.5825 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC95D #5D73DF
analogous
#DF885D #DFC95D #B4DF5D
triadic
#DFC95D #5DDFC9 #C95DDF
tetradic
#DFC95D #5DDF88 #5D73DF #DF5DB4
square
#DFC95D #5DDF88 #5D73DF #DF5DB4
split-complementary
#DFC95D #5DB4DF #885DDF
monochromatic
#A28C20 #D5B82A #DFC95D #E9DA90 #F3EBC3

Accessibility & contrast

On white

1.66
#DFC95D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.65
#DFC95D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC95D
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC95D#FFFFFF#000000##000000
##DFC95D1.001.6612.6512.65
#FFFFFF1.661.0021.0021.00
#00000012.6521.001.001.00
##00000012.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC452
Deuteranopia (green-blind)
#E0CC62
Tritanopia (blue-blind)
#EFBCB1
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #dfc95d;
/* rgb */ color: rgb(223, 201, 93);
/* oklch */ color: oklch(83.3% 0.130 97.9);
Tailwind
colors: {
  custom: {
    50: '#ecd98e',
    500: '#dfc95d',
    950: '#000000',
  },
}
SCSS
$custom: #dfc95d;
$custom-light: #ecd98e;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc95d",
  "rgb": {
    "r": 223,
    "g": 201,
    "b": 93
  },
  "hsl": {
    "h": 49.846,
    "s": 67.01,
    "l": 61.961
  },
  "oklch": {
    "l": 0.83339,
    "c": 0.1302,
    "h": 97.9
  },
  "luminance": 0.58252
}

Semantic roles & 50–950 ramp

primary
#DFC95D
secondary
#3C4DA5
accent
#36CF17
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #DFC95D

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

Preview Lab → · Contrast checker → · Palette generator →

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