#DFC852#DFC852

#DFC852 is a very light, vivid yellow. Relative luminance 0.576; OKLCH L 83.0% C 0.138 H 98.2°. Best body text is #000000 at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#DFC852
RGBrgb(223, 200, 82)
HSLhsl(50, 69%, 60%)
HSVhsv(50, 63%, 87%)
CMYKcmyk(0%, 10.3%, 63.2%, 12.5%)
CIE-LABlab(80.52, -5.50, 60.16)
CIE-LCHlch(80.52, 60.41, 95.23°)
OKLaboklab(83.02% -0.0198 0.137)
OKLCHoklch(83.02% 0.138 98.2)
XYZxyz(52.6109, 57.6081, 16.3293)
Luminance0.5761 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC852 #5269DF
analogous
#DF8252 #DFC852 #AFDF52
triadic
#DFC852 #52DFC8 #C852DF
tetradic
#DFC852 #52DF82 #5269DF #DF52AF
square
#DFC852 #52DF82 #5269DF #DF52AF
split-complementary
#DFC852 #52AFDF #8252DF
monochromatic
#9A861D #CEB226 #DFC852 #E9D886 #F2E9B9

Accessibility & contrast

On white

1.68
#DFC852 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.52
#DFC852 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC852
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC852#FFFFFF#000000##000000
##DFC8521.001.6812.5212.52
#FFFFFF1.681.0021.0021.00
#00000012.5221.001.001.00
##00000012.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC344
Deuteranopia (green-blind)
#E0CB58
Tritanopia (blue-blind)
#EFBAAF
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #dfc852;
/* rgb */ color: rgb(223, 200, 82);
/* oklch */ color: oklch(83.0% 0.138 98.2);
Tailwind
colors: {
  custom: {
    50: '#ecd888',
    500: '#dfc852',
    950: '#000000',
  },
}
SCSS
$custom: #dfc852;
$custom-light: #ecd888;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc852",
  "rgb": {
    "r": 223,
    "g": 200,
    "b": 82
  },
  "hsl": {
    "h": 50.213,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.83022,
    "c": 0.13847,
    "h": 98.2
  },
  "luminance": 0.57606
}

Semantic roles & 50–950 ramp

primary
#DFC852
secondary
#37489E
accent
#59EC3C
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DFC852

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

Preview Lab → · Contrast checker → · Palette generator →

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