#DFC95F#DFC95F

#DFC95F is a very light, vivid yellow. Relative luminance 0.583; OKLCH L 83.4% C 0.128 H 97.7°. Best body text is #000000 at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#DFC95F
RGBrgb(223, 201, 95)
HSLhsl(50, 67%, 62%)
HSVhsv(50, 57%, 87%)
CMYKcmyk(0%, 9.9%, 57.4%, 12.5%)
CIE-LABlab(80.90, -5.13, 54.79)
CIE-LCHlch(80.90, 55.03, 95.35°)
OKLaboklab(83.36% -0.0173 0.1273)
OKLCHoklch(83.36% 0.128 97.7)
XYZxyz(53.3857, 58.2898, 19.2633)
Luminance0.5829 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC95F #5F75DF
analogous
#DF895F #DFC95F #B5DF5F
triadic
#DFC95F #5FDFC9 #C95FDF
tetradic
#DFC95F #5FDF89 #5F75DF #DF5FB5
square
#DFC95F #5FDF89 #5F75DF #DF5FB5
split-complementary
#DFC95F #5FB5DF #895FDF
monochromatic
#A38D21 #D5B82C #DFC95F #E9DA92 #F3EBC5

Accessibility & contrast

On white

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

On black

12.66
#DFC95F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC95F
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC95F#FFFFFF#000000##000000
##DFC95F1.001.6612.6612.66
#FFFFFF1.661.0021.0021.00
#00000012.6621.001.001.00
##00000012.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dfc95f;
/* rgb */ color: rgb(223, 201, 95);
/* oklch */ color: oklch(83.4% 0.128 97.7);
Tailwind
colors: {
  custom: {
    50: '#ecd990',
    500: '#dfc95f',
    950: '#000000',
  },
}
SCSS
$custom: #dfc95f;
$custom-light: #ecd990;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc95f",
  "rgb": {
    "r": 223,
    "g": 201,
    "b": 95
  },
  "hsl": {
    "h": 49.688,
    "s": 66.667,
    "l": 62.353
  },
  "oklch": {
    "l": 0.83361,
    "c": 0.12846,
    "h": 97.7
  },
  "luminance": 0.58287
}

Semantic roles & 50–950 ramp

primary
#DFC95F
secondary
#3C4EA6
accent
#37CF17
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #DFC95F

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

Preview Lab → · Contrast checker → · Palette generator →

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