#DACF51#DACF51

#DACF51 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.02:1 contrast (WCAG AA passes).

Color values

HEX#DACF51
RGBrgb(218, 207, 81)
HSLhsl(55, 65%, 59%)
HSVhsv(55, 63%, 85%)
CMYKcmyk(0%, 5%, 62.8%, 14.5%)
CIE-LABlab(81.91, -11.21, 61.94)
CIE-LCHlch(81.91, 62.94, 100.26°)
OKLaboklab(84.02% -0.036 0.1408)
OKLCHoklch(84.02% 0.145 104.3)
XYZxyz(52.7134, 60.1271, 16.6120)
Luminance0.6012 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DACF51 #515CDA
analogous
#DA8A51 #DACF51 #A1DA51
triadic
#DACF51 #51DACF #CF51DA
tetradic
#DACF51 #51DA8A #515CDA #DA51A1
square
#DACF51 #51DA8A #515CDA #DA51A1
split-complementary
#DACF51 #51A1DA #8A51DA
monochromatic
#92881F #C4B82A #DACF51 #E5DD83 #EFEBB6

Accessibility & contrast

On white

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

On black

13.02
#DACF51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DACF51
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DACF51#FFFFFF#000000##000000
##DACF511.001.6113.0213.02
#FFFFFF1.611.0021.0021.00
#00000013.0221.001.001.00
##00000013.0221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dacf51;
/* rgb */ color: rgb(218, 207, 81);
/* oklch */ color: oklch(84.0% 0.145 104.3);
Tailwind
colors: {
  custom: {
    50: '#e9dd87',
    500: '#dacf51',
    950: '#000000',
  },
}
SCSS
$custom: #dacf51;
$custom-light: #e9dd87;
$custom-dark: #000000;
JSON
{
  "hex": "#dacf51",
  "rgb": {
    "r": 218,
    "g": 207,
    "b": 81
  },
  "hsl": {
    "h": 55.182,
    "s": 64.929,
    "l": 58.627
  },
  "oklch": {
    "l": 0.84017,
    "c": 0.14532,
    "h": 104.3
  },
  "luminance": 0.60125
}

Semantic roles & 50–950 ramp

primary
#DACF51
secondary
#394097
accent
#4DE840
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #DACF51

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

Preview Lab → · Contrast checker → · Palette generator →

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