#DFC045#DFC045

#DFC045 is a light, vivid yellow. Relative luminance 0.538; OKLCH L 81.3% C 0.142 H 94.7°. Best body text is #000000 at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#DFC045
RGBrgb(223, 192, 69)
HSLhsl(48, 71%, 57%)
HSVhsv(48, 69%, 87%)
CMYKcmyk(0%, 13.9%, 69.1%, 12.5%)
CIE-LABlab(78.36, -2.12, 63.29)
CIE-LCHlch(78.36, 63.32, 91.92°)
OKLaboklab(81.28% -0.0117 0.1416)
OKLCHoklch(81.28% 0.142 94.7)
XYZxyz(50.3578, 53.8196, 13.3648)
Luminance0.5382 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC045 #4564DF
analogous
#DF7345 #DFC045 #B1DF45
triadic
#DFC045 #45DFC0 #C045DF
tetradic
#DFC045 #45DF73 #4564DF #DF45B1
square
#DFC045 #45DF73 #4564DF #DF45B1
split-complementary
#DFC045 #45B1DF #7345DF
monochromatic
#917919 #C5A422 #DFC045 #E8D279 #F1E3AD

Accessibility & contrast

On white

1.79
#DFC045 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.76
#DFC045 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC045
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC045#FFFFFF#000000##000000
##DFC0451.001.7911.7611.76
#FFFFFF1.791.0021.0021.00
#00000011.7621.001.001.00
##00000011.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC34
Deuteranopia (green-blind)
#DBC64C
Tritanopia (blue-blind)
#F0B1A7
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #dfc045;
/* rgb */ color: rgb(223, 192, 69);
/* oklch */ color: oklch(81.3% 0.142 94.7);
Tailwind
colors: {
  custom: {
    50: '#edd27f',
    500: '#dfc045',
    950: '#000000',
  },
}
SCSS
$custom: #dfc045;
$custom-light: #edd27f;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc045",
  "rgb": {
    "r": 223,
    "g": 192,
    "b": 69
  },
  "hsl": {
    "h": 47.922,
    "s": 70.642,
    "l": 57.255
  },
  "oklch": {
    "l": 0.81276,
    "c": 0.14209,
    "h": 94.7
  },
  "luminance": 0.53817
}

Semantic roles & 50–950 ramp

primary
#DFC045
secondary
#334796
accent
#5EED3A
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DFC045

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

Preview Lab → · Contrast checker → · Palette generator →

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