#DFD74F#DFD74F

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

Color values

HEX#DFD74F
RGBrgb(223, 215, 79)
HSLhsl(57, 69%, 59%)
HSVhsv(57, 65%, 87%)
CMYKcmyk(0%, 3.6%, 64.6%, 12.5%)
CIE-LABlab(84.41, -13.27, 65.52)
CIE-LCHlch(84.41, 66.85, 101.45°)
OKLaboklab(86.1% -0.0423 0.1479)
OKLCHoklch(86.1% 0.154 106)
XYZxyz(56.1452, 64.8553, 16.9565)
Luminance0.6485 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD74F #4F57DF
analogous
#DF8F4F #DFD74F #9FDF4F
triadic
#DFD74F #4FDFD7 #D74FDF
tetradic
#DFD74F #4FDF8F #4F57DF #DF4F9F
square
#DFD74F #4FDF8F #4F57DF #DF4F9F
split-complementary
#DFD74F #4F9FDF #8F4FDF
monochromatic
#98911C #CCC225 #DFD74F #E8E383 #F2EFB7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DFD74F#FFFFFF#000000##000000
##DFD74F1.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)
#E9CF3D
Deuteranopia (green-blind)
#ECD557
Tritanopia (blue-blind)
#EFC9BB
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #dfd74f;
/* rgb */ color: rgb(223, 215, 79);
/* oklch */ color: oklch(86.1% 0.154 106.0);
Tailwind
colors: {
  custom: {
    50: '#ece387',
    500: '#dfd74f',
    950: '#000000',
  },
}
SCSS
$custom: #dfd74f;
$custom-light: #ece387;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd74f",
  "rgb": {
    "r": 223,
    "g": 215,
    "b": 79
  },
  "hsl": {
    "h": 56.667,
    "s": 69.231,
    "l": 59.216
  },
  "oklch": {
    "l": 0.86103,
    "c": 0.15386,
    "h": 106
  },
  "luminance": 0.64853
}

Semantic roles & 50–950 ramp

primary
#DFD74F
secondary
#363C9C
accent
#46EC3C
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DFD74F

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

Preview Lab → · Contrast checker → · Palette generator →

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