#DFDF74#DFDF74

#DFDF74 is a very light, vivid yellow. Relative luminance 0.697; OKLCH L 88.2% C 0.130 H 108.8°. Best body text is #000000 at 14.94:1 contrast (WCAG AA passes).

Color values

HEX#DFDF74
RGBrgb(223, 223, 116)
HSLhsl(60, 63%, 66%)
HSVhsv(60, 48%, 87%)
CMYKcmyk(0%, 0%, 48%, 12.5%)
CIE-LABlab(86.86, -14.52, 51.98)
CIE-LCHlch(86.86, 53.97, 105.61°)
OKLaboklab(88.17% -0.0419 0.1233)
OKLCHoklch(88.17% 0.13 108.8)
XYZxyz(59.9728, 69.7257, 26.8188)
Luminance0.6972 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFDF74 #7474DF
analogous
#DFAA74 #DFDF74 #AADF74
triadic
#DFDF74 #74DFDF #DF74DF
tetradic
#DFDF74 #74DFAA #7474DF #DF74AA
square
#DFDF74 #74DFAA #7474DF #DF74AA
split-complementary
#DFDF74 #74AADF #AA74DF
monochromatic
#B0B029 #D4D442 #DFDF74 #EAEAA6 #F6F6D7

Accessibility & contrast

On white

1.41
#DFDF74 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.94
#DFDF74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFDF74
14.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFDF74#FFFFFF#000000##000000
##DFDF741.001.4114.9414.94
#FFFFFF1.411.0021.0021.00
#00000014.9421.001.001.00
##00000014.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED76A
Deuteranopia (green-blind)
#EFDB79
Tritanopia (blue-blind)
#ECD3C6
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #dfdf74;
/* rgb */ color: rgb(223, 223, 116);
/* oklch */ color: oklch(88.2% 0.130 108.8);
Tailwind
colors: {
  custom: {
    50: '#ebe89e',
    500: '#dfdf74',
    950: '#000000',
  },
}
SCSS
$custom: #dfdf74;
$custom-light: #ebe89e;
$custom-dark: #000000;
JSON
{
  "hex": "#dfdf74",
  "rgb": {
    "r": 223,
    "g": 223,
    "b": 116
  },
  "hsl": {
    "h": 60,
    "s": 62.573,
    "l": 66.471
  },
  "oklch": {
    "l": 0.88169,
    "c": 0.1302,
    "h": 108.8
  },
  "luminance": 0.69724
}

Semantic roles & 50–950 ramp

primary
#DFDF74
secondary
#4545B2
accent
#1BCA1B
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16160F
muted
#858480

Preview Lab

Preview with #DFDF74

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

Preview Lab → · Contrast checker → · Palette generator →

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