#DFD74D#DFD74D

#DFD74D 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#DFD74D
RGBrgb(223, 215, 77)
HSLhsl(57, 70%, 59%)
HSVhsv(57, 65%, 87%)
CMYKcmyk(0%, 3.6%, 65.5%, 12.5%)
CIE-LABlab(84.39, -13.38, 66.30)
CIE-LCHlch(84.39, 67.63, 101.41°)
OKLaboklab(86.09% -0.0428 0.1493)
OKLCHoklch(86.09% 0.155 106)
XYZxyz(56.0735, 64.8266, 16.5788)
Luminance0.6482 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD74D #4D55DF
analogous
#DF8E4D #DFD74D #9EDF4D
triadic
#DFD74D #4DDFD7 #D74DDF
tetradic
#DFD74D #4DDF8E #4D55DF #DF4D9E
square
#DFD74D #4DDF8E #4D55DF #DF4D9E
split-complementary
#DFD74D #4D9EDF #8E4DDF
monochromatic
#97901B #CAC124 #DFD74D #E8E381 #F2EEB5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DFD74D#FFFFFF#000000##000000
##DFD74D1.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)
#E9CF3A
Deuteranopia (green-blind)
#ECD556
Tritanopia (blue-blind)
#EFC9BB
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #dfd74d;
/* rgb */ color: rgb(223, 215, 77);
/* oklch */ color: oklch(86.1% 0.155 106.0);
Tailwind
colors: {
  custom: {
    50: '#ece386',
    500: '#dfd74d',
    950: '#000000',
  },
}
SCSS
$custom: #dfd74d;
$custom-light: #ece386;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd74d",
  "rgb": {
    "r": 223,
    "g": 215,
    "b": 77
  },
  "hsl": {
    "h": 56.712,
    "s": 69.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.86086,
    "c": 0.15529,
    "h": 106
  },
  "luminance": 0.64825
}

Semantic roles & 50–950 ramp

primary
#DFD74D
secondary
#353B9B
accent
#45EC3B
background
#FFFEFC
surface
#FEFCF3
border
#D6D5CD
text
#17150C
muted
#85847F

Preview Lab

Preview with #DFD74D

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

Preview Lab → · Contrast checker → · Palette generator →

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