#DFDF56#DFDF56

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

Color values

HEX#DFDF56
RGBrgb(223, 223, 86)
HSLhsl(60, 68%, 61%)
HSVhsv(60, 61%, 87%)
CMYKcmyk(0%, 0%, 61.4%, 12.5%)
CIE-LABlab(86.57, -16.80, 64.96)
CIE-LCHlch(86.57, 67.10, 104.50°)
OKLaboklab(87.84% -0.0515 0.1478)
OKLCHoklch(87.84% 0.157 109.2)
XYZxyz(58.5006, 69.1368, 19.0654)
Luminance0.6914 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFDF56 #5656DF
analogous
#DF9A56 #DFDF56 #9ADF56
triadic
#DFDF56 #56DFDF #DF56DF
tetradic
#DFDF56 #56DF9A #5656DF #DF569A
square
#DFDF56 #56DF9A #5656DF #DF569A
split-complementary
#DFDF56 #569ADF #9A56DF
monochromatic
#9D9D1E #D0D027 #DFDF56 #E9E989 #F2F2BD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DFDF56#FFFFFF#000000##000000
##DFDF561.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)
#F0D645
Deuteranopia (green-blind)
#F2DB5E
Tritanopia (blue-blind)
#EED2C2
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #dfdf56;
/* rgb */ color: rgb(223, 223, 86);
/* oklch */ color: oklch(87.8% 0.157 109.2);
Tailwind
colors: {
  custom: {
    50: '#ece88c',
    500: '#dfdf56',
    950: '#000000',
  },
}
SCSS
$custom: #dfdf56;
$custom-light: #ece88c;
$custom-dark: #000000;
JSON
{
  "hex": "#dfdf56",
  "rgb": {
    "r": 223,
    "g": 223,
    "b": 86
  },
  "hsl": {
    "h": 60,
    "s": 68.159,
    "l": 60.588
  },
  "oklch": {
    "l": 0.87844,
    "c": 0.15651,
    "h": 109.2
  },
  "luminance": 0.69135
}

Semantic roles & 50–950 ramp

primary
#DFDF56
secondary
#3939A0
accent
#15D015
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #DFDF56

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

Preview Lab → · Contrast checker → · Palette generator →

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