#DFC24A#DFC24A

#DFC24A is a light, vivid yellow. Relative luminance 0.548; OKLCH L 81.7% C 0.140 H 95.4°. Best body text is #000000 at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#DFC24A
RGBrgb(223, 194, 74)
HSLhsl(48, 70%, 58%)
HSVhsv(48, 67%, 87%)
CMYKcmyk(0%, 13%, 66.8%, 12.5%)
CIE-LABlab(78.91, -2.89, 61.82)
CIE-LCHlch(78.91, 61.89, 92.67°)
OKLaboklab(81.72% -0.0133 0.1393)
OKLCHoklch(81.72% 0.14 95.4)
XYZxyz(50.9617, 54.7686, 14.3643)
Luminance0.5477 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC24A #4A67DF
analogous
#DF774A #DFC24A #B1DF4A
triadic
#DFC24A #4ADFC2 #C24ADF
tetradic
#DFC24A #4ADF77 #4A67DF #DF4AB1
square
#DFC24A #4ADF77 #4A67DF #DF4AB1
split-complementary
#DFC24A #4AB1DF #774ADF
monochromatic
#947D1A #C8A823 #DFC24A #E8D47E #F1E5B2

Accessibility & contrast

On white

1.76
#DFC24A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.95
#DFC24A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC24A
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC24A#FFFFFF#000000##000000
##DFC24A1.001.7611.9511.95
#FFFFFF1.761.0021.0021.00
#00000011.9521.001.001.00
##00000011.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE3B
Deuteranopia (green-blind)
#DDC750
Tritanopia (blue-blind)
#F0B4A9
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #dfc24a;
/* rgb */ color: rgb(223, 194, 74);
/* oklch */ color: oklch(81.7% 0.140 95.4);
Tailwind
colors: {
  custom: {
    50: '#edd482',
    500: '#dfc24a',
    950: '#000000',
  },
}
SCSS
$custom: #dfc24a;
$custom-light: #edd482;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc24a",
  "rgb": {
    "r": 223,
    "g": 194,
    "b": 74
  },
  "hsl": {
    "h": 48.322,
    "s": 69.953,
    "l": 58.235
  },
  "oklch": {
    "l": 0.81724,
    "c": 0.13997,
    "h": 95.4
  },
  "luminance": 0.54766
}

Semantic roles & 50–950 ramp

primary
#DFC24A
secondary
#344899
accent
#5EED3B
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DFC24A

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

Preview Lab → · Contrast checker → · Palette generator →

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