#DFD92C#DFD92C

#DFD92C is a very light, vivid yellow. Relative luminance 0.655; OKLCH L 86.3% C 0.176 H 107.4°. Best body text is #000000 at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#DFD92C
RGBrgb(223, 217, 44)
HSLhsl(58, 74%, 52%)
HSVhsv(58, 80%, 87%)
CMYKcmyk(0%, 2.7%, 80.3%, 12.5%)
CIE-LABlab(84.74, -15.80, 77.56)
CIE-LCHlch(84.74, 79.15, 101.52°)
OKLaboklab(86.3% -0.0526 0.1674)
OKLCHoklch(86.3% 0.176 107.4)
XYZxyz(55.7012, 65.4975, 12.0906)
Luminance0.6550 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD92C #2C32DF
analogous
#DF802C #DFD92C #8BDF2C
triadic
#DFD92C #2CDFD9 #D92CDF
tetradic
#DFD92C #2CDF80 #2C32DF #DF2C8B
square
#DFD92C #2CDF80 #2C32DF #DF2C8B
split-complementary
#DFD92C #2C8BDF #802CDF
monochromatic
#7E7A13 #B3AE1B #DFD92C #E7E361 #EFEC96

Accessibility & contrast

On white

1.49
#DFD92C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.10
#DFD92C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD92C
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD92C#FFFFFF#000000##000000
##DFD92C1.001.4914.1014.10
#FFFFFF1.491.0021.0021.00
#00000014.1021.001.001.00
##00000014.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD000
Deuteranopia (green-blind)
#EFD63C
Tritanopia (blue-blind)
#F0CABA
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dfd92c;
/* rgb */ color: rgb(223, 217, 44);
/* oklch */ color: oklch(86.3% 0.176 107.4);
Tailwind
colors: {
  custom: {
    50: '#ede476',
    500: '#dfd92c',
    950: '#000000',
  },
}
SCSS
$custom: #dfd92c;
$custom-light: #ede476;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd92c",
  "rgb": {
    "r": 223,
    "g": 217,
    "b": 44
  },
  "hsl": {
    "h": 57.989,
    "s": 73.663,
    "l": 52.353
  },
  "oklch": {
    "l": 0.86304,
    "c": 0.17551,
    "h": 107.4
  },
  "luminance": 0.65496
}

Semantic roles & 50–950 ramp

primary
#DFD92C
secondary
#2A2D85
accent
#3EF037
background
#FFFEFB
surface
#FFFCF1
border
#D7D5CB
text
#17150A
muted
#85847D

Preview Lab

Preview with #DFD92C

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

Preview Lab → · Contrast checker → · Palette generator →

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