#DFC85B#DFC85B

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

Color values

HEX#DFC85B
RGBrgb(223, 200, 91)
HSLhsl(50, 67%, 62%)
HSVhsv(50, 59%, 87%)
CMYKcmyk(0%, 10.3%, 59.2%, 12.5%)
CIE-LABlab(80.60, -4.91, 56.28)
CIE-LCHlch(80.60, 56.49, 94.98°)
OKLaboklab(83.11% -0.0171 0.13)
OKLCHoklch(83.11% 0.131 97.5)
XYZxyz(52.9762, 57.7542, 18.2527)
Luminance0.5775 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC85B #5B72DF
analogous
#DF865B #DFC85B #B4DF5B
triadic
#DFC85B #5BDFC8 #C85BDF
tetradic
#DFC85B #5BDF86 #5B72DF #DF5BB4
square
#DFC85B #5BDF86 #5B72DF #DF5BB4
split-complementary
#DFC85B #5BB4DF #865BDF
monochromatic
#A08A1F #D4B629 #DFC85B #E9D98E #F3EAC1

Accessibility & contrast

On white

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

On black

12.55
#DFC85B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC85B
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC85B#FFFFFF#000000##000000
##DFC85B1.001.6712.5512.55
#FFFFFF1.671.0021.0021.00
#00000012.5521.001.001.00
##00000012.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dfc85b;
/* rgb */ color: rgb(223, 200, 91);
/* oklch */ color: oklch(83.1% 0.131 97.5);
Tailwind
colors: {
  custom: {
    50: '#ecd88d',
    500: '#dfc85b',
    950: '#000000',
  },
}
SCSS
$custom: #dfc85b;
$custom-light: #ecd88d;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc85b",
  "rgb": {
    "r": 223,
    "g": 200,
    "b": 91
  },
  "hsl": {
    "h": 49.545,
    "s": 67.347,
    "l": 61.569
  },
  "oklch": {
    "l": 0.83112,
    "c": 0.13111,
    "h": 97.5
  },
  "luminance": 0.57752
}

Semantic roles & 50–950 ramp

primary
#DFC85B
secondary
#3B4DA3
accent
#36CF16
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DFC85B

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

Preview Lab → · Contrast checker → · Palette generator →

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