#DFDF57#DFDF57

#DFDF57 is a very light, vivid yellow. Relative luminance 0.692; OKLCH L 87.9% C 0.156 H 109.2°. Best body text is #000000 at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#DFDF57
RGBrgb(223, 223, 87)
HSLhsl(60, 68%, 61%)
HSVhsv(60, 61%, 87%)
CMYKcmyk(0%, 0%, 61%, 12.5%)
CIE-LABlab(86.58, -16.74, 64.56)
CIE-LCHlch(86.58, 66.69, 104.54°)
OKLaboklab(87.85% -0.0513 0.1471)
OKLCHoklch(87.85% 0.156 109.2)
XYZxyz(58.5412, 69.1531, 19.2791)
Luminance0.6915 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFDF57 #5757DF
analogous
#DF9B57 #DFDF57 #9BDF57
triadic
#DFDF57 #57DFDF #DF57DF
tetradic
#DFDF57 #57DF9B #5757DF #DF579B
square
#DFDF57 #57DF9B #5757DF #DF579B
split-complementary
#DFDF57 #579BDF #9B57DF
monochromatic
#9E9E1E #D1D128 #DFDF57 #E9E98A #F3F3BE

Accessibility & contrast

On white

1.42
#DFDF57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.83
#DFDF57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFDF57
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFDF57#FFFFFF#000000##000000
##DFDF571.001.4214.8314.83
#FFFFFF1.421.0021.0021.00
#00000014.8321.001.001.00
##00000014.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D646
Deuteranopia (green-blind)
#F2DB5F
Tritanopia (blue-blind)
#EED2C3
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #dfdf57;
/* rgb */ color: rgb(223, 223, 87);
/* oklch */ color: oklch(87.9% 0.156 109.2);
Tailwind
colors: {
  custom: {
    50: '#ece88c',
    500: '#dfdf57',
    950: '#000000',
  },
}
SCSS
$custom: #dfdf57;
$custom-light: #ece88c;
$custom-dark: #000000;
JSON
{
  "hex": "#dfdf57",
  "rgb": {
    "r": 223,
    "g": 223,
    "b": 87
  },
  "hsl": {
    "h": 60,
    "s": 68,
    "l": 60.784
  },
  "oklch": {
    "l": 0.87853,
    "c": 0.15574,
    "h": 109.2
  },
  "luminance": 0.69151
}

Semantic roles & 50–950 ramp

primary
#DFDF57
secondary
#3939A1
accent
#16D016
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #DFDF57

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

Preview Lab → · Contrast checker → · Palette generator →

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