#DFC55F#DFC55F

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

Color values

HEX#DFC55F
RGBrgb(223, 197, 95)
HSLhsl(48, 67%, 62%)
HSVhsv(48, 57%, 87%)
CMYKcmyk(0%, 11.7%, 57.4%, 12.5%)
CIE-LABlab(79.87, -3.07, 53.61)
CIE-LCHlch(79.87, 53.70, 93.28°)
OKLaboklab(82.55% -0.0114 0.1248)
OKLCHoklch(82.55% 0.125 95.2)
XYZxyz(52.4653, 56.4491, 18.9565)
Luminance0.5645 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC55F #5F79DF
analogous
#DF855F #DFC55F #B9DF5F
triadic
#DFC55F #5FDFC5 #C55FDF
tetradic
#DFC55F #5FDF85 #5F79DF #DF5FB9
square
#DFC55F #5FDF85 #5F79DF #DF5FB9
split-complementary
#DFC55F #5FB9DF #855FDF
monochromatic
#A38921 #D5B32C #DFC55F #E9D792 #F3EAC5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DFC55F#FFFFFF#000000##000000
##DFC55F1.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)
#D7C155
Deuteranopia (green-blind)
#DDCA64
Tritanopia (blue-blind)
#EFB8AE
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #dfc55f;
/* rgb */ color: rgb(223, 197, 95);
/* oklch */ color: oklch(82.5% 0.125 95.2);
Tailwind
colors: {
  custom: {
    50: '#ecd68f',
    500: '#dfc55f',
    950: '#000000',
  },
}
SCSS
$custom: #dfc55f;
$custom-light: #ecd68f;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc55f",
  "rgb": {
    "r": 223,
    "g": 197,
    "b": 95
  },
  "hsl": {
    "h": 47.813,
    "s": 66.667,
    "l": 62.353
  },
  "oklch": {
    "l": 0.82545,
    "c": 0.12527,
    "h": 95.2
  },
  "luminance": 0.56447
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DFC55F

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

Preview Lab → · Contrast checker → · Palette generator →

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