#DFC55A#DFC55A

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

Color values

HEX#DFC55A
RGBrgb(223, 197, 90)
HSLhsl(48, 68%, 61%)
HSVhsv(48, 60%, 87%)
CMYKcmyk(0%, 11.7%, 59.6%, 12.5%)
CIE-LABlab(79.82, -3.43, 55.85)
CIE-LCHlch(79.82, 55.96, 93.52°)
OKLaboklab(82.49% -0.013 0.129)
OKLCHoklch(82.49% 0.13 95.7)
XYZxyz(52.2453, 56.3611, 17.7977)
Luminance0.5636 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC55A #5A74DF
analogous
#DF835A #DFC55A #B7DF5A
triadic
#DFC55A #5ADFC5 #C55ADF
tetradic
#DFC55A #5ADF83 #5A74DF #DF5AB7
square
#DFC55A #5ADF83 #5A74DF #DF5AB7
split-complementary
#DFC55A #5AB7DF #835ADF
monochromatic
#A0861F #D3B229 #DFC55A #E9D78D #F3E9C1

Accessibility & contrast

On white

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

On black

12.27
#DFC55A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC55A
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC55A#FFFFFF#000000##000000
##DFC55A1.001.7112.2712.27
#FFFFFF1.711.0021.0021.00
#00000012.2721.001.001.00
##00000012.2721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dfc55a;
/* rgb */ color: rgb(223, 197, 90);
/* oklch */ color: oklch(82.5% 0.130 95.7);
Tailwind
colors: {
  custom: {
    50: '#ecd68c',
    500: '#dfc55a',
    950: '#000000',
  },
}
SCSS
$custom: #dfc55a;
$custom-light: #ecd68c;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc55a",
  "rgb": {
    "r": 223,
    "g": 197,
    "b": 90
  },
  "hsl": {
    "h": 48.271,
    "s": 67.513,
    "l": 61.373
  },
  "oklch": {
    "l": 0.8249,
    "c": 0.1296,
    "h": 95.7
  },
  "luminance": 0.56359
}

Semantic roles & 50–950 ramp

primary
#DFC55A
secondary
#3A4FA3
accent
#3ACF16
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DFC55A

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

Preview Lab → · Contrast checker → · Palette generator →

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