#DFD94B#DFD94B

#DFD94B is a very light, vivid yellow. Relative luminance 0.658; OKLCH L 86.5% C 0.159 H 106.9°. Best body text is #000000 at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#DFD94B
RGBrgb(223, 217, 75)
HSLhsl(58, 70%, 58%)
HSVhsv(58, 66%, 87%)
CMYKcmyk(0%, 2.7%, 66.4%, 12.5%)
CIE-LABlab(84.91, -14.49, 67.60)
CIE-LCHlch(84.91, 69.14, 102.10°)
OKLaboklab(86.49% -0.0461 0.1517)
OKLCHoklch(86.49% 0.159 106.9)
XYZxyz(56.5163, 65.8236, 16.3834)
Luminance0.6582 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD94B #4B51DF
analogous
#DF8F4B #DFD94B #9BDF4B
triadic
#DFD94B #4BDFD9 #D94BDF
tetradic
#DFD94B #4BDF8F #4B51DF #DF4B9B
square
#DFD94B #4BDF8F #4B51DF #DF4B9B
split-complementary
#DFD94B #4B9BDF #8F4BDF
monochromatic
#95901B #C9C224 #DFD94B #E8E47F #F1EFB3

Accessibility & contrast

On white

1.48
#DFD94B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.16
#DFD94B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD94B
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD94B#FFFFFF#000000##000000
##DFD94B1.001.4814.1614.16
#FFFFFF1.481.0021.0021.00
#00000014.1621.001.001.00
##00000014.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD137
Deuteranopia (green-blind)
#EED754
Tritanopia (blue-blind)
#EFCBBC
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dfd94b;
/* rgb */ color: rgb(223, 217, 75);
/* oklch */ color: oklch(86.5% 0.159 106.9);
Tailwind
colors: {
  custom: {
    50: '#ece485',
    500: '#dfd94b',
    950: '#000000',
  },
}
SCSS
$custom: #dfd94b;
$custom-light: #ece485;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd94b",
  "rgb": {
    "r": 223,
    "g": 217,
    "b": 75
  },
  "hsl": {
    "h": 57.568,
    "s": 69.811,
    "l": 58.431
  },
  "oklch": {
    "l": 0.8649,
    "c": 0.15857,
    "h": 106.9
  },
  "luminance": 0.65822
}

Semantic roles & 50–950 ramp

primary
#DFD94B
secondary
#353999
accent
#42ED3B
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #DFD94B

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

Preview Lab → · Contrast checker → · Palette generator →

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