#DFC55D#DFC55D

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

Color values

HEX#DFC55D
RGBrgb(223, 197, 93)
HSLhsl(48, 67%, 62%)
HSVhsv(48, 58%, 87%)
CMYKcmyk(0%, 11.7%, 58.3%, 12.5%)
CIE-LABlab(79.85, -3.22, 54.52)
CIE-LCHlch(79.85, 54.61, 93.38°)
OKLaboklab(82.52% -0.012 0.1265)
OKLCHoklch(82.52% 0.127 95.4)
XYZxyz(52.3756, 56.4132, 18.4838)
Luminance0.5641 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC55D #5D77DF
analogous
#DF845D #DFC55D #B8DF5D
triadic
#DFC55D #5DDFC5 #C55DDF
tetradic
#DFC55D #5DDF84 #5D77DF #DF5DB8
square
#DFC55D #5DDF84 #5D77DF #DF5DB8
split-complementary
#DFC55D #5DB8DF #845DDF
monochromatic
#A28820 #D5B32A #DFC55D #E9D790 #F3EAC3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DFC55D#FFFFFF#000000##000000
##DFC55D1.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)
#D7C152
Deuteranopia (green-blind)
#DDCA62
Tritanopia (blue-blind)
#EFB8AE
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #dfc55d;
/* rgb */ color: rgb(223, 197, 93);
/* oklch */ color: oklch(82.5% 0.127 95.4);
Tailwind
colors: {
  custom: {
    50: '#ecd68e',
    500: '#dfc55d',
    950: '#000000',
  },
}
SCSS
$custom: #dfc55d;
$custom-light: #ecd68e;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc55d",
  "rgb": {
    "r": 223,
    "g": 197,
    "b": 93
  },
  "hsl": {
    "h": 48,
    "s": 67.01,
    "l": 61.961
  },
  "oklch": {
    "l": 0.82523,
    "c": 0.12703,
    "h": 95.4
  },
  "luminance": 0.56411
}

Semantic roles & 50–950 ramp

primary
#DFC55D
secondary
#3C51A5
accent
#3BCF17
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DFC55D

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

Preview Lab → · Contrast checker → · Palette generator →

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