#DFC95B#DFC95B

#DFC95B is a very light, vivid yellow. Relative luminance 0.582; OKLCH L 83.3% C 0.132 H 98.1°. Best body text is #000000 at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#DFC95B
RGBrgb(223, 201, 91)
HSLhsl(50, 67%, 62%)
HSVhsv(50, 59%, 87%)
CMYKcmyk(0%, 9.9%, 59.2%, 12.5%)
CIE-LABlab(80.86, -5.42, 56.57)
CIE-LCHlch(80.86, 56.83, 95.47°)
OKLaboklab(83.32% -0.0186 0.1306)
OKLCHoklch(83.32% 0.132 98.1)
XYZxyz(53.2085, 58.2189, 18.3302)
Luminance0.5822 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC95B #5B71DF
analogous
#DF875B #DFC95B #B3DF5B
triadic
#DFC95B #5BDFC9 #C95BDF
tetradic
#DFC95B #5BDF87 #5B71DF #DF5BB3
square
#DFC95B #5BDF87 #5B71DF #DF5BB3
split-complementary
#DFC95B #5BB3DF #875BDF
monochromatic
#A08B1F #D4B729 #DFC95B #E9DA8E #F3EBC1

Accessibility & contrast

On white

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

On black

12.64
#DFC95B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC95B
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC95B#FFFFFF#000000##000000
##DFC95B1.001.6612.6412.64
#FFFFFF1.661.0021.0021.00
#00000012.6421.001.001.00
##00000012.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dfc95b;
/* rgb */ color: rgb(223, 201, 91);
/* oklch */ color: oklch(83.3% 0.132 98.1);
Tailwind
colors: {
  custom: {
    50: '#ecd98d',
    500: '#dfc95b',
    950: '#000000',
  },
}
SCSS
$custom: #dfc95b;
$custom-light: #ecd98d;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc95b",
  "rgb": {
    "r": 223,
    "g": 201,
    "b": 91
  },
  "hsl": {
    "h": 50,
    "s": 67.347,
    "l": 61.569
  },
  "oklch": {
    "l": 0.83317,
    "c": 0.13192,
    "h": 98.1
  },
  "luminance": 0.58217
}

Semantic roles & 50–950 ramp

primary
#DFC95B
secondary
#3B4CA3
accent
#35CF16
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DFC95B

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

Preview Lab → · Contrast checker → · Palette generator →

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