#DACF42#DACF42

#DACF42 is a very light, vivid yellow. Relative luminance 0.599; OKLCH L 83.9% C 0.156 H 104.8°. Best body text is #000000 at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#DACF42
RGBrgb(218, 207, 66)
HSLhsl(56, 67%, 56%)
HSVhsv(56, 70%, 85%)
CMYKcmyk(0%, 5%, 69.7%, 14.5%)
CIE-LABlab(81.80, -12.05, 67.74)
CIE-LCHlch(81.80, 68.81, 100.09°)
OKLaboklab(83.9% -0.0399 0.1507)
OKLCHoklch(83.9% 0.156 104.8)
XYZxyz(52.2118, 59.9264, 13.9699)
Luminance0.5992 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DACF42 #424DDA
analogous
#DA8342 #DACF42 #99DA42
triadic
#DACF42 #42DACF #CF42DA
tetradic
#DACF42 #42DA83 #424DDA #DA4299
square
#DACF42 #42DA83 #424DDA #DA4299
split-complementary
#DACF42 #4299DA #8342DA
monochromatic
#877F1A #BAAF24 #DACF42 #E4DC75 #EEE9A8

Accessibility & contrast

On white

1.62
#DACF42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.98
#DACF42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DACF42
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DACF42#FFFFFF#000000##000000
##DACF421.001.6212.9812.98
#FFFFFF1.621.0021.0021.00
#00000012.9821.001.001.00
##00000012.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C82B
Deuteranopia (green-blind)
#E5CE4B
Tritanopia (blue-blind)
#EAC1B3
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #dacf42;
/* rgb */ color: rgb(218, 207, 66);
/* oklch */ color: oklch(83.9% 0.156 104.8);
Tailwind
colors: {
  custom: {
    50: '#e9dd7f',
    500: '#dacf42',
    950: '#000000',
  },
}
SCSS
$custom: #dacf42;
$custom-light: #e9dd7f;
$custom-dark: #000000;
JSON
{
  "hex": "#dacf42",
  "rgb": {
    "r": 218,
    "g": 207,
    "b": 66
  },
  "hsl": {
    "h": 55.658,
    "s": 67.257,
    "l": 55.686
  },
  "oklch": {
    "l": 0.83895,
    "c": 0.15587,
    "h": 104.8
  },
  "luminance": 0.59924
}

Semantic roles & 50–950 ramp

primary
#DACF42
secondary
#33398D
accent
#4AEA3E
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #DACF42

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

Preview Lab → · Contrast checker → · Palette generator →

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