#DACF52#DACF52

#DACF52 is a very light, vivid yellow. Relative luminance 0.601; OKLCH L 84.0% C 0.145 H 104.3°. Best body text is #000000 at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#DACF52
RGBrgb(218, 207, 82)
HSLhsl(55, 65%, 59%)
HSVhsv(55, 62%, 85%)
CMYKcmyk(0%, 5%, 62.4%, 14.5%)
CIE-LABlab(81.92, -11.15, 61.53)
CIE-LCHlch(81.92, 62.53, 100.27°)
OKLaboklab(84.03% -0.0357 0.1401)
OKLCHoklch(84.03% 0.145 104.3)
XYZxyz(52.7512, 60.1422, 16.8109)
Luminance0.6014 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DACF52 #525DDA
analogous
#DA8B52 #DACF52 #A1DA52
triadic
#DACF52 #52DACF #CF52DA
tetradic
#DACF52 #52DA8B #525DDA #DA52A1
square
#DACF52 #52DA8B #525DDA #DA52A1
split-complementary
#DACF52 #52A1DA #8B52DA
monochromatic
#92891F #C5B82A #DACF52 #E5DD84 #F0EBB7

Accessibility & contrast

On white

1.61
#DACF52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.03
#DACF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DACF52
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DACF52#FFFFFF#000000##000000
##DACF521.001.6113.0313.03
#FFFFFF1.611.0021.0021.00
#00000013.0321.001.001.00
##00000013.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C843
Deuteranopia (green-blind)
#E4CE59
Tritanopia (blue-blind)
#E9C2B5
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #dacf52;
/* rgb */ color: rgb(218, 207, 82);
/* oklch */ color: oklch(84.0% 0.145 104.3);
Tailwind
colors: {
  custom: {
    50: '#e9dd88',
    500: '#dacf52',
    950: '#000000',
  },
}
SCSS
$custom: #dacf52;
$custom-light: #e9dd88;
$custom-dark: #000000;
JSON
{
  "hex": "#dacf52",
  "rgb": {
    "r": 218,
    "g": 207,
    "b": 82
  },
  "hsl": {
    "h": 55.147,
    "s": 64.762,
    "l": 58.824
  },
  "oklch": {
    "l": 0.84026,
    "c": 0.14454,
    "h": 104.3
  },
  "luminance": 0.6014
}

Semantic roles & 50–950 ramp

primary
#DACF52
secondary
#394197
accent
#4EE840
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #DACF52

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

Preview Lab → · Contrast checker → · Palette generator →

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