#DFC85E#DFC85E

#DFC85E is a very light, vivid yellow. Relative luminance 0.578; OKLCH L 83.1% C 0.129 H 97.2°. Best body text is #000000 at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#DFC85E
RGBrgb(223, 200, 94)
HSLhsl(49, 67%, 62%)
HSVhsv(49, 58%, 87%)
CMYKcmyk(0%, 10.3%, 57.8%, 12.5%)
CIE-LABlab(80.63, -4.69, 54.95)
CIE-LCHlch(80.63, 55.15, 94.88°)
OKLaboklab(83.15% -0.0161 0.1275)
OKLCHoklch(83.15% 0.129 97.2)
XYZxyz(53.1082, 57.8070, 18.9479)
Luminance0.5780 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC85E #5E75DF
analogous
#DF875E #DFC85E #B6DF5E
triadic
#DFC85E #5EDFC8 #C85EDF
tetradic
#DFC85E #5EDF87 #5E75DF #DF5EB6
square
#DFC85E #5EDF87 #5E75DF #DF5EB6
split-complementary
#DFC85E #5EB6DF #875EDF
monochromatic
#A28B20 #D5B72B #DFC85E #E9D991 #F3EBC4

Accessibility & contrast

On white

1.67
#DFC85E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.56
#DFC85E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC85E
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC85E#FFFFFF#000000##000000
##DFC85E1.001.6712.5612.56
#FFFFFF1.671.0021.0021.00
#00000012.5621.001.001.00
##00000012.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C453
Deuteranopia (green-blind)
#E0CB63
Tritanopia (blue-blind)
#EFBBB0
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #dfc85e;
/* rgb */ color: rgb(223, 200, 94);
/* oklch */ color: oklch(83.1% 0.129 97.2);
Tailwind
colors: {
  custom: {
    50: '#ecd88f',
    500: '#dfc85e',
    950: '#000000',
  },
}
SCSS
$custom: #dfc85e;
$custom-light: #ecd88f;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc85e",
  "rgb": {
    "r": 223,
    "g": 200,
    "b": 94
  },
  "hsl": {
    "h": 49.302,
    "s": 66.839,
    "l": 62.157
  },
  "oklch": {
    "l": 0.83145,
    "c": 0.12852,
    "h": 97.2
  },
  "luminance": 0.57805
}

Semantic roles & 50–950 ramp

primary
#DFC85E
secondary
#3C4FA5
accent
#38CF17
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #DFC85E

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

Preview Lab → · Contrast checker → · Palette generator →

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