#DFC954#DFC954

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

Color values

HEX#DFC954
RGBrgb(223, 201, 84)
HSLhsl(51, 68%, 60%)
HSVhsv(51, 62%, 87%)
CMYKcmyk(0%, 9.9%, 62.3%, 12.5%)
CIE-LABlab(80.80, -5.89, 59.59)
CIE-LCHlch(80.80, 59.88, 95.64°)
OKLaboklab(83.25% -0.0207 0.1361)
OKLCHoklch(83.25% 0.138 98.7)
XYZxyz(52.9205, 58.1037, 16.8134)
Luminance0.5810 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC954 #546ADF
analogous
#DF8454 #DFC954 #AFDF54
triadic
#DFC954 #54DFC9 #C954DF
tetradic
#DFC954 #54DF84 #546ADF #DF54AF
square
#DFC954 #54DF84 #546ADF #DF54AF
split-complementary
#DFC954 #54AFDF #8454DF
monochromatic
#9C871D #CFB427 #DFC954 #E9D988 #F2EABB

Accessibility & contrast

On white

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

On black

12.62
#DFC954 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC954
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC954#FFFFFF#000000##000000
##DFC9541.001.6612.6212.62
#FFFFFF1.661.0021.0021.00
#00000012.6221.001.001.00
##00000012.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC447
Deuteranopia (green-blind)
#E1CC5A
Tritanopia (blue-blind)
#EFBBB0
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #dfc954;
/* rgb */ color: rgb(223, 201, 84);
/* oklch */ color: oklch(83.2% 0.138 98.7);
Tailwind
colors: {
  custom: {
    50: '#ecd989',
    500: '#dfc954',
    950: '#000000',
  },
}
SCSS
$custom: #dfc954;
$custom-light: #ecd989;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc954",
  "rgb": {
    "r": 223,
    "g": 201,
    "b": 84
  },
  "hsl": {
    "h": 50.504,
    "s": 68.473,
    "l": 60.196
  },
  "oklch": {
    "l": 0.83246,
    "c": 0.13769,
    "h": 98.7
  },
  "luminance": 0.58101
}

Semantic roles & 50–950 ramp

primary
#DFC954
secondary
#38489F
accent
#33D015
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DFC954

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

Preview Lab → · Contrast checker → · Palette generator →

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