#DFC952#DFC952

#DFC952 is a very light, vivid yellow. Relative luminance 0.581; OKLCH L 83.2% C 0.139 H 98.8°. Best body text is #000000 at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#DFC952
RGBrgb(223, 201, 82)
HSLhsl(51, 69%, 60%)
HSVhsv(51, 63%, 87%)
CMYKcmyk(0%, 9.9%, 63.2%, 12.5%)
CIE-LABlab(80.78, -6.01, 60.43)
CIE-LCHlch(80.78, 60.73, 95.68°)
OKLaboklab(83.23% -0.0213 0.1376)
OKLCHoklch(83.23% 0.139 98.8)
XYZxyz(52.8433, 58.0728, 16.4067)
Luminance0.5807 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC952 #5268DF
analogous
#DF8252 #DFC952 #AFDF52
triadic
#DFC952 #52DFC9 #C952DF
tetradic
#DFC952 #52DF82 #5268DF #DF52AF
square
#DFC952 #52DF82 #5268DF #DF52AF
split-complementary
#DFC952 #52AFDF #8252DF
monochromatic
#9A861D #CEB426 #DFC952 #E9D986 #F2E9B9

Accessibility & contrast

On white

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

On black

12.61
#DFC952 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC952
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC952#FFFFFF#000000##000000
##DFC9521.001.6612.6112.61
#FFFFFF1.661.0021.0021.00
#00000012.6121.001.001.00
##00000012.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dfc952;
/* rgb */ color: rgb(223, 201, 82);
/* oklch */ color: oklch(83.2% 0.139 98.8);
Tailwind
colors: {
  custom: {
    50: '#ecd988',
    500: '#dfc952',
    950: '#000000',
  },
}
SCSS
$custom: #dfc952;
$custom-light: #ecd988;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc952",
  "rgb": {
    "r": 223,
    "g": 201,
    "b": 82
  },
  "hsl": {
    "h": 50.638,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.83227,
    "c": 0.13927,
    "h": 98.8
  },
  "luminance": 0.5807
}

Semantic roles & 50–950 ramp

primary
#DFC952
secondary
#37479E
accent
#58EC3C
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DFC952

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

Preview Lab → · Contrast checker → · Palette generator →

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