#DFC85F#DFC85F

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

Color values

HEX#DFC85F
RGBrgb(223, 200, 95)
HSLhsl(49, 67%, 62%)
HSVhsv(49, 57%, 87%)
CMYKcmyk(0%, 10.3%, 57.4%, 12.5%)
CIE-LABlab(80.64, -4.62, 54.50)
CIE-LCHlch(80.64, 54.69, 94.84°)
OKLaboklab(83.16% -0.0158 0.1267)
OKLCHoklch(83.16% 0.128 97.1)
XYZxyz(53.1533, 57.8251, 19.1858)
Luminance0.5782 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC85F #5F76DF
analogous
#DF885F #DFC85F #B6DF5F
triadic
#DFC85F #5FDFC8 #C85FDF
tetradic
#DFC85F #5FDF88 #5F76DF #DF5FB6
square
#DFC85F #5FDF88 #5F76DF #DF5FB6
split-complementary
#DFC85F #5FB6DF #885FDF
monochromatic
#A38C21 #D5B62C #DFC85F #E9DA92 #F3EBC5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DFC85F#FFFFFF#000000##000000
##DFC85F1.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)
#D9C454
Deuteranopia (green-blind)
#E0CC64
Tritanopia (blue-blind)
#EFBBB1
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #dfc85f;
/* rgb */ color: rgb(223, 200, 95);
/* oklch */ color: oklch(83.2% 0.128 97.1);
Tailwind
colors: {
  custom: {
    50: '#ecd890',
    500: '#dfc85f',
    950: '#000000',
  },
}
SCSS
$custom: #dfc85f;
$custom-light: #ecd890;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc85f",
  "rgb": {
    "r": 223,
    "g": 200,
    "b": 95
  },
  "hsl": {
    "h": 49.219,
    "s": 66.667,
    "l": 62.353
  },
  "oklch": {
    "l": 0.83156,
    "c": 0.12763,
    "h": 97.1
  },
  "luminance": 0.57823
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DFC85F

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

Preview Lab → · Contrast checker → · Palette generator →

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