#DFDF52#DFDF52

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

Color values

HEX#DFDF52
RGBrgb(223, 223, 82)
HSLhsl(60, 69%, 60%)
HSVhsv(60, 63%, 87%)
CMYKcmyk(0%, 0%, 63.2%, 12.5%)
CIE-LABlab(86.54, -17.05, 66.54)
CIE-LCHlch(86.54, 68.69, 104.37°)
OKLaboklab(87.81% -0.0527 0.1506)
OKLCHoklch(87.81% 0.159 109.3)
XYZxyz(58.3440, 69.0742, 18.2403)
Luminance0.6907 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFDF52 #5252DF
analogous
#DF9952 #DFDF52 #99DF52
triadic
#DFDF52 #52DFDF #DF52DF
tetradic
#DFDF52 #52DF99 #5252DF #DF5299
square
#DFDF52 #52DF99 #5252DF #DF5299
split-complementary
#DFDF52 #5299DF #9952DF
monochromatic
#9A9A1D #CECE26 #DFDF52 #E9E986 #F2F2B9

Accessibility & contrast

On white

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

On black

14.81
#DFDF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFDF52
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFDF52#FFFFFF#000000##000000
##DFDF521.001.4214.8114.81
#FFFFFF1.421.0021.0021.00
#00000014.8121.001.001.00
##00000014.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D63F
Deuteranopia (green-blind)
#F2DB5B
Tritanopia (blue-blind)
#EED2C2
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #dfdf52;
/* rgb */ color: rgb(223, 223, 82);
/* oklch */ color: oklch(87.8% 0.159 109.3);
Tailwind
colors: {
  custom: {
    50: '#ece889',
    500: '#dfdf52',
    950: '#000000',
  },
}
SCSS
$custom: #dfdf52;
$custom-light: #ece889;
$custom-dark: #000000;
JSON
{
  "hex": "#dfdf52",
  "rgb": {
    "r": 223,
    "g": 223,
    "b": 82
  },
  "hsl": {
    "h": 60,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.8781,
    "c": 0.15949,
    "h": 109.3
  },
  "luminance": 0.69073
}

Semantic roles & 50–950 ramp

primary
#DFDF52
secondary
#37379E
accent
#3CEC3C
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #DFDF52

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

Preview Lab → · Contrast checker → · Palette generator →

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