#DFD152#DFD152

#DFD152 is a very light, vivid yellow. Relative luminance 0.619; OKLCH L 84.9% C 0.146 H 103.0°. Best body text is #000000 at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#DFD152
RGBrgb(223, 209, 82)
HSLhsl(54, 69%, 60%)
HSVhsv(54, 63%, 87%)
CMYKcmyk(0%, 6.3%, 63.2%, 12.5%)
CIE-LABlab(82.86, -10.08, 62.66)
CIE-LCHlch(82.86, 63.47, 99.14°)
OKLaboklab(84.88% -0.0329 0.1423)
OKLCHoklch(84.88% 0.146 103)
XYZxyz(54.7570, 61.9002, 17.0446)
Luminance0.6190 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD152 #5260DF
analogous
#DF8B52 #DFD152 #A6DF52
triadic
#DFD152 #52DFD1 #D152DF
tetradic
#DFD152 #52DF8B #5260DF #DF52A6
square
#DFD152 #52DF8B #5260DF #DF52A6
split-complementary
#DFD152 #52A6DF #8B52DF
monochromatic
#9A8E1D #CEBD26 #DFD152 #E9DF86 #F2ECB9

Accessibility & contrast

On white

1.57
#DFD152 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.38
#DFD152 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD152
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD152#FFFFFF#000000##000000
##DFD1521.001.5713.3813.38
#FFFFFF1.571.0021.0021.00
#00000013.3821.001.001.00
##00000013.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CB42
Deuteranopia (green-blind)
#E7D159
Tritanopia (blue-blind)
#EFC3B6
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #dfd152;
/* rgb */ color: rgb(223, 209, 82);
/* oklch */ color: oklch(84.9% 0.146 103.0);
Tailwind
colors: {
  custom: {
    50: '#ecde88',
    500: '#dfd152',
    950: '#000000',
  },
}
SCSS
$custom: #dfd152;
$custom-light: #ecde88;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd152",
  "rgb": {
    "r": 223,
    "g": 209,
    "b": 82
  },
  "hsl": {
    "h": 54.043,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.84878,
    "c": 0.1461,
    "h": 103
  },
  "luminance": 0.61898
}

Semantic roles & 50–950 ramp

primary
#DFD152
secondary
#37419E
accent
#4EEC3C
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DFD152

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

Preview Lab → · Contrast checker → · Palette generator →

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