#DFC95E#DFC95E

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

Color values

HEX#DFC95E
RGBrgb(223, 201, 94)
HSLhsl(50, 67%, 62%)
HSVhsv(50, 58%, 87%)
CMYKcmyk(0%, 9.9%, 57.8%, 12.5%)
CIE-LABlab(80.89, -5.20, 55.24)
CIE-LCHlch(80.89, 55.48, 95.38°)
OKLaboklab(83.35% -0.0176 0.1281)
OKLCHoklch(83.35% 0.129 97.8)
XYZxyz(53.3405, 58.2717, 19.0254)
Luminance0.5827 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC95E #5E74DF
analogous
#DF885E #DFC95E #B5DF5E
triadic
#DFC95E #5EDFC9 #C95EDF
tetradic
#DFC95E #5EDF88 #5E74DF #DF5EB5
square
#DFC95E #5EDF88 #5E74DF #DF5EB5
split-complementary
#DFC95E #5EB5DF #885EDF
monochromatic
#A28C20 #D5B82B #DFC95E #E9DA91 #F3EBC4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DFC95E#FFFFFF#000000##000000
##DFC95E1.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)
#DAC453
Deuteranopia (green-blind)
#E0CC63
Tritanopia (blue-blind)
#EFBCB1
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #dfc95e;
/* rgb */ color: rgb(223, 201, 94);
/* oklch */ color: oklch(83.4% 0.129 97.8);
Tailwind
colors: {
  custom: {
    50: '#ecd98f',
    500: '#dfc95e',
    950: '#000000',
  },
}
SCSS
$custom: #dfc95e;
$custom-light: #ecd98f;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc95e",
  "rgb": {
    "r": 223,
    "g": 201,
    "b": 94
  },
  "hsl": {
    "h": 49.767,
    "s": 66.839,
    "l": 62.157
  },
  "oklch": {
    "l": 0.8335,
    "c": 0.12933,
    "h": 97.8
  },
  "luminance": 0.58269
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DFC95E

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

Preview Lab → · Contrast checker → · Palette generator →

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