#DFDF58#DFDF58

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

Color values

HEX#DFDF58
RGBrgb(223, 223, 88)
HSLhsl(60, 68%, 61%)
HSVhsv(60, 61%, 87%)
CMYKcmyk(0%, 0%, 60.5%, 12.5%)
CIE-LABlab(86.59, -16.68, 64.15)
CIE-LCHlch(86.59, 66.28, 104.57°)
OKLaboklab(87.86% -0.051 0.1463)
OKLCHoklch(87.86% 0.155 109.2)
XYZxyz(58.5823, 69.1695, 19.4957)
Luminance0.6917 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFDF58 #5858DF
analogous
#DF9B58 #DFDF58 #9BDF58
triadic
#DFDF58 #58DFDF #DF58DF
tetradic
#DFDF58 #58DF9B #5858DF #DF589B
square
#DFDF58 #58DF9B #5858DF #DF589B
split-complementary
#DFDF58 #589BDF #9B58DF
monochromatic
#9E9E1E #D2D228 #DFDF58 #E9E98B #F3F3BF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DFDF58#FFFFFF#000000##000000
##DFDF581.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)
#F0D648
Deuteranopia (green-blind)
#F2DB60
Tritanopia (blue-blind)
#EED2C3
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #dfdf58;
/* rgb */ color: rgb(223, 223, 88);
/* oklch */ color: oklch(87.9% 0.155 109.2);
Tailwind
colors: {
  custom: {
    50: '#ece88d',
    500: '#dfdf58',
    950: '#000000',
  },
}
SCSS
$custom: #dfdf58;
$custom-light: #ece88d;
$custom-dark: #000000;
JSON
{
  "hex": "#dfdf58",
  "rgb": {
    "r": 223,
    "g": 223,
    "b": 88
  },
  "hsl": {
    "h": 60,
    "s": 67.839,
    "l": 60.98
  },
  "oklch": {
    "l": 0.87862,
    "c": 0.15497,
    "h": 109.2
  },
  "luminance": 0.69168
}

Semantic roles & 50–950 ramp

primary
#DFDF58
secondary
#3A3AA2
accent
#16D016
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #DFDF58

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

Preview Lab → · Contrast checker → · Palette generator →

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