#DAC862#DAC862

#DAC862 is a very light, vivid yellow. Relative luminance 0.571; OKLCH L 82.7% C 0.125 H 99.5°. Best body text is #000000 at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#DAC862
RGBrgb(218, 200, 98)
HSLhsl(51, 62%, 62%)
HSVhsv(51, 55%, 85%)
CMYKcmyk(0%, 8.3%, 55%, 14.5%)
CIE-LABlab(80.23, -6.46, 52.52)
CIE-LCHlch(80.23, 52.92, 97.01°)
OKLaboklab(82.74% -0.0205 0.1228)
OKLCHoklch(82.74% 0.125 99.5)
XYZxyz(51.7741, 57.0979, 19.8467)
Luminance0.5710 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAC862 #6274DA
analogous
#DA8C62 #DAC862 #B0DA62
triadic
#DAC862 #62DAC8 #C862DA
tetradic
#DAC862 #62DA8C #6274DA #DA62B0
square
#DAC862 #62DA8C #6274DA #DA62B0
split-complementary
#DAC862 #62B0DA #8C62DA
monochromatic
#9D8B25 #CEB731 #DAC862 #E6D994 #F1EBC5

Accessibility & contrast

On white

1.69
#DAC862 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.42
#DAC862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAC862
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAC862#FFFFFF#000000##000000
##DAC8621.001.6912.4212.42
#FFFFFF1.691.0021.0021.00
#00000012.4221.001.001.00
##00000012.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C358
Deuteranopia (green-blind)
#DECA67
Tritanopia (blue-blind)
#E9BCB1
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #dac862;
/* rgb */ color: rgb(218, 200, 98);
/* oklch */ color: oklch(82.7% 0.125 99.5);
Tailwind
colors: {
  custom: {
    50: '#e8d891',
    500: '#dac862',
    950: '#000000',
  },
}
SCSS
$custom: #dac862;
$custom-light: #e8d891;
$custom-dark: #000000;
JSON
{
  "hex": "#dac862",
  "rgb": {
    "r": 218,
    "g": 200,
    "b": 98
  },
  "hsl": {
    "h": 51,
    "s": 61.856,
    "l": 61.961
  },
  "oklch": {
    "l": 0.8274,
    "c": 0.12452,
    "h": 99.5
  },
  "luminance": 0.57096
}

Semantic roles & 50–950 ramp

primary
#DAC862
secondary
#404EA1
accent
#36CA1C
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F

Preview Lab

Preview with #DAC862

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

Preview Lab → · Contrast checker → · Palette generator →

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