#DAC751#DAC751

#DAC751 is a very light, vivid yellow. Relative luminance 0.563; OKLCH L 82.4% C 0.138 H 100.2°. Best body text is #000000 at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#DAC751
RGBrgb(218, 199, 81)
HSLhsl(52, 65%, 59%)
HSVhsv(52, 63%, 85%)
CMYKcmyk(0%, 8.7%, 62.8%, 14.5%)
CIE-LABlab(79.81, -7.15, 59.69)
CIE-LCHlch(79.81, 60.12, 96.83°)
OKLaboklab(82.35% -0.0244 0.136)
OKLCHoklch(82.35% 0.138 100.2)
XYZxyz(50.8241, 56.3485, 15.9822)
Luminance0.5635 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAC751 #5164DA
analogous
#DA8251 #DAC751 #A8DA51
triadic
#DAC751 #51DAC7 #C751DA
tetradic
#DAC751 #51DA82 #5164DA #DA51A8
square
#DAC751 #51DA82 #5164DA #DA51A8
split-complementary
#DAC751 #51A8DA #8251DA
monochromatic
#92821F #C4AF2A #DAC751 #E5D783 #EFE7B6

Accessibility & contrast

On white

1.71
#DAC751 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.27
#DAC751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAC751
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAC751#FFFFFF#000000##000000
##DAC7511.001.7112.2712.27
#FFFFFF1.711.0021.0021.00
#00000012.2721.001.001.00
##00000012.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C243
Deuteranopia (green-blind)
#DEC957
Tritanopia (blue-blind)
#EABAAE
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #dac751;
/* rgb */ color: rgb(218, 199, 81);
/* oklch */ color: oklch(82.4% 0.138 100.2);
Tailwind
colors: {
  custom: {
    50: '#e9d787',
    500: '#dac751',
    950: '#000000',
  },
}
SCSS
$custom: #dac751;
$custom-light: #e9d787;
$custom-dark: #000000;
JSON
{
  "hex": "#dac751",
  "rgb": {
    "r": 218,
    "g": 199,
    "b": 81
  },
  "hsl": {
    "h": 51.679,
    "s": 64.929,
    "l": 58.627
  },
  "oklch": {
    "l": 0.82353,
    "c": 0.13821,
    "h": 100.2
  },
  "luminance": 0.56346
}

Semantic roles & 50–950 ramp

primary
#DAC751
secondary
#394697
accent
#57E840
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#16140C
muted
#85837F

Preview Lab

Preview with #DAC751

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

Preview Lab → · Contrast checker → · Palette generator →

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