#DFD74E#DFD74E

#DFD74E is a very light, vivid yellow. Relative luminance 0.648; OKLCH L 86.1% C 0.155 H 106.0°. Best body text is #000000 at 13.97:1 contrast (WCAG AA passes).

Color values

HEX#DFD74E
RGBrgb(223, 215, 78)
HSLhsl(57, 69%, 59%)
HSVhsv(57, 65%, 87%)
CMYKcmyk(0%, 3.6%, 65%, 12.5%)
CIE-LABlab(84.40, -13.33, 65.91)
CIE-LCHlch(84.40, 67.24, 101.43°)
OKLaboklab(86.1% -0.0426 0.1486)
OKLCHoklch(86.1% 0.155 106)
XYZxyz(56.1091, 64.8409, 16.7662)
Luminance0.6484 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD74E #4E56DF
analogous
#DF8F4E #DFD74E #9FDF4E
triadic
#DFD74E #4EDFD7 #D74EDF
tetradic
#DFD74E #4EDF8F #4E56DF #DF4E9F
square
#DFD74E #4EDF8F #4E56DF #DF4E9F
split-complementary
#DFD74E #4E9FDF #8F4EDF
monochromatic
#97901B #CBC225 #DFD74E #E8E382 #F2EEB6

Accessibility & contrast

On white

1.50
#DFD74E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.97
#DFD74E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD74E
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD74E#FFFFFF#000000##000000
##DFD74E1.001.5013.9713.97
#FFFFFF1.501.0021.0021.00
#00000013.9721.001.001.00
##00000013.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9CF3C
Deuteranopia (green-blind)
#ECD557
Tritanopia (blue-blind)
#EFC9BB
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #dfd74e;
/* rgb */ color: rgb(223, 215, 78);
/* oklch */ color: oklch(86.1% 0.155 106.0);
Tailwind
colors: {
  custom: {
    50: '#ece386',
    500: '#dfd74e',
    950: '#000000',
  },
}
SCSS
$custom: #dfd74e;
$custom-light: #ece386;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd74e",
  "rgb": {
    "r": 223,
    "g": 215,
    "b": 78
  },
  "hsl": {
    "h": 56.69,
    "s": 69.378,
    "l": 59.02
  },
  "oklch": {
    "l": 0.86095,
    "c": 0.15458,
    "h": 106
  },
  "luminance": 0.64839
}

Semantic roles & 50–950 ramp

primary
#DFD74E
secondary
#363B9B
accent
#45EC3C
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DFD74E

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

Preview Lab → · Contrast checker → · Palette generator →

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