#DFC45F#DFC45F

#DFC45F is a very light, vivid yellow. Relative luminance 0.560; OKLCH L 82.3% C 0.125 H 94.5°. Best body text is #000000 at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#DFC45F
RGBrgb(223, 196, 95)
HSLhsl(47, 67%, 62%)
HSVhsv(47, 57%, 87%)
CMYKcmyk(0%, 12.1%, 57.4%, 12.5%)
CIE-LABlab(79.61, -2.56, 53.32)
CIE-LCHlch(79.61, 53.38, 92.74°)
OKLaboklab(82.34% -0.0099 0.1241)
OKLCHoklch(82.34% 0.125 94.5)
XYZxyz(52.2390, 55.9965, 18.8810)
Luminance0.5599 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC45F #5F7ADF
analogous
#DF845F #DFC45F #BADF5F
triadic
#DFC45F #5FDFC4 #C45FDF
tetradic
#DFC45F #5FDF84 #5F7ADF #DF5FBA
square
#DFC45F #5FDF84 #5F7ADF #DF5FBA
split-complementary
#DFC45F #5FBADF #845FDF
monochromatic
#A38721 #D5B12C #DFC45F #E9D792 #F3EAC5

Accessibility & contrast

On white

1.72
#DFC45F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.20
#DFC45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC45F
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC45F#FFFFFF#000000##000000
##DFC45F1.001.7212.2012.20
#FFFFFF1.721.0021.0021.00
#00000012.2021.001.001.00
##00000012.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C055
Deuteranopia (green-blind)
#DDC963
Tritanopia (blue-blind)
#EFB7AD
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #dfc45f;
/* rgb */ color: rgb(223, 196, 95);
/* oklch */ color: oklch(82.3% 0.125 94.5);
Tailwind
colors: {
  custom: {
    50: '#ecd58f',
    500: '#dfc45f',
    950: '#000000',
  },
}
SCSS
$custom: #dfc45f;
$custom-light: #ecd58f;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc45f",
  "rgb": {
    "r": 223,
    "g": 196,
    "b": 95
  },
  "hsl": {
    "h": 47.344,
    "s": 66.667,
    "l": 62.353
  },
  "oklch": {
    "l": 0.82342,
    "c": 0.12451,
    "h": 94.5
  },
  "luminance": 0.55994
}

Semantic roles & 50–950 ramp

primary
#DFC45F
secondary
#3C53A6
accent
#3ECF17
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #DFC45F

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

Preview Lab → · Contrast checker → · Palette generator →

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