#DFC55C#DFC55C

#DFC55C is a very light, vivid yellow. Relative luminance 0.564; OKLCH L 82.5% C 0.128 H 95.5°. Best body text is #000000 at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#DFC55C
RGBrgb(223, 197, 92)
HSLhsl(48, 67%, 62%)
HSVhsv(48, 59%, 87%)
CMYKcmyk(0%, 11.7%, 58.7%, 12.5%)
CIE-LABlab(79.84, -3.29, 54.96)
CIE-LCHlch(79.84, 55.06, 93.43°)
OKLaboklab(82.51% -0.0123 0.1273)
OKLCHoklch(82.51% 0.128 95.5)
XYZxyz(52.3316, 56.3956, 18.2521)
Luminance0.5639 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC55C #5C76DF
analogous
#DF845C #DFC55C #B7DF5C
triadic
#DFC55C #5CDFC5 #C55CDF
tetradic
#DFC55C #5CDF84 #5C76DF #DF5CB7
square
#DFC55C #5CDF84 #5C76DF #DF5CB7
split-complementary
#DFC55C #5CB7DF #845CDF
monochromatic
#A18720 #D4B22A #DFC55C #E9D78F #F3E9C2

Accessibility & contrast

On white

1.71
#DFC55C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.28
#DFC55C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC55C
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC55C#FFFFFF#000000##000000
##DFC55C1.001.7112.2812.28
#FFFFFF1.711.0021.0021.00
#00000012.2821.001.001.00
##00000012.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C151
Deuteranopia (green-blind)
#DEC961
Tritanopia (blue-blind)
#EFB8AE
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #dfc55c;
/* rgb */ color: rgb(223, 197, 92);
/* oklch */ color: oklch(82.5% 0.128 95.5);
Tailwind
colors: {
  custom: {
    50: '#ecd68e',
    500: '#dfc55c',
    950: '#000000',
  },
}
SCSS
$custom: #dfc55c;
$custom-light: #ecd68e;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc55c",
  "rgb": {
    "r": 223,
    "g": 197,
    "b": 92
  },
  "hsl": {
    "h": 48.092,
    "s": 67.179,
    "l": 61.765
  },
  "oklch": {
    "l": 0.82511,
    "c": 0.1279,
    "h": 95.5
  },
  "luminance": 0.56393
}

Semantic roles & 50–950 ramp

primary
#DFC55C
secondary
#3B50A4
accent
#3BCF16
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DFC55C

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

Preview Lab → · Contrast checker → · Palette generator →

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