#DFC55E#DFC55E

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

Color values

HEX#DFC55E
RGBrgb(223, 197, 94)
HSLhsl(48, 67%, 62%)
HSVhsv(48, 58%, 87%)
CMYKcmyk(0%, 11.7%, 57.8%, 12.5%)
CIE-LABlab(79.86, -3.15, 54.07)
CIE-LCHlch(79.86, 54.16, 93.33°)
OKLaboklab(82.53% -0.0117 0.1256)
OKLCHoklch(82.53% 0.126 95.3)
XYZxyz(52.4202, 56.4311, 18.7186)
Luminance0.5643 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC55E #5E78DF
analogous
#DF855E #DFC55E #B9DF5E
triadic
#DFC55E #5EDFC5 #C55EDF
tetradic
#DFC55E #5EDF85 #5E78DF #DF5EB9
square
#DFC55E #5EDF85 #5E78DF #DF5EB9
split-complementary
#DFC55E #5EB9DF #855EDF
monochromatic
#A28820 #D5B32B #DFC55E #E9D791 #F3EAC4

Accessibility & contrast

On white

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

On black

12.29
#DFC55E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC55E
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC55E#FFFFFF#000000##000000
##DFC55E1.001.7112.2912.29
#FFFFFF1.711.0021.0021.00
#00000012.2921.001.001.00
##00000012.2921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dfc55e;
/* rgb */ color: rgb(223, 197, 94);
/* oklch */ color: oklch(82.5% 0.126 95.3);
Tailwind
colors: {
  custom: {
    50: '#ecd68f',
    500: '#dfc55e',
    950: '#000000',
  },
}
SCSS
$custom: #dfc55e;
$custom-light: #ecd68f;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc55e",
  "rgb": {
    "r": 223,
    "g": 197,
    "b": 94
  },
  "hsl": {
    "h": 47.907,
    "s": 66.839,
    "l": 62.157
  },
  "oklch": {
    "l": 0.82534,
    "c": 0.12615,
    "h": 95.3
  },
  "luminance": 0.56429
}

Semantic roles & 50–950 ramp

primary
#DFC55E
secondary
#3C51A5
accent
#3CCF17
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #DFC55E

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

Preview Lab → · Contrast checker → · Palette generator →

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