#DACC5F#DACC5F

#DACC5F is a very light, vivid yellow. Relative luminance 0.589; OKLCH L 83.5% C 0.131 H 102.0°. Best body text is #000000 at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#DACC5F
RGBrgb(218, 204, 95)
HSLhsl(53, 62%, 61%)
HSVhsv(53, 56%, 85%)
CMYKcmyk(0%, 6.4%, 56.4%, 14.5%)
CIE-LABlab(81.25, -8.73, 55.07)
CIE-LCHlch(81.25, 55.76, 99.01°)
OKLaboklab(83.53% -0.0273 0.128)
OKLCHoklch(83.53% 0.131 102)
XYZxyz(52.5737, 58.9193, 19.4275)
Luminance0.5892 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DACC5F #5F6DDA
analogous
#DA8F5F #DACC5F #ABDA5F
triadic
#DACC5F #5FDACC #CC5FDA
tetradic
#DACC5F #5FDA8F #5F6DDA #DA5FAB
square
#DACC5F #5FDA8F #5F6DDA #DA5FAB
split-complementary
#DACC5F #5FABDA #8F5FDA
monochromatic
#9B8D24 #CDBB2F #DACC5F #E5DC91 #F1ECC2

Accessibility & contrast

On white

1.64
#DACC5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.78
#DACC5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DACC5F
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DACC5F#FFFFFF#000000##000000
##DACC5F1.001.6412.7812.78
#FFFFFF1.641.0021.0021.00
#00000012.7821.001.001.00
##00000012.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC654
Deuteranopia (green-blind)
#E1CD64
Tritanopia (blue-blind)
#E9BFB4
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #dacc5f;
/* rgb */ color: rgb(218, 204, 95);
/* oklch */ color: oklch(83.5% 0.131 102.0);
Tailwind
colors: {
  custom: {
    50: '#e8db90',
    500: '#dacc5f',
    950: '#000000',
  },
}
SCSS
$custom: #dacc5f;
$custom-light: #e8db90;
$custom-dark: #000000;
JSON
{
  "hex": "#dacc5f",
  "rgb": {
    "r": 218,
    "g": 204,
    "b": 95
  },
  "hsl": {
    "h": 53.171,
    "s": 62.437,
    "l": 61.373
  },
  "oklch": {
    "l": 0.83533,
    "c": 0.13087,
    "h": 102
  },
  "luminance": 0.58917
}

Semantic roles & 50–950 ramp

primary
#DACC5F
secondary
#3E499F
accent
#2FCA1B
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F

Preview Lab

Preview with #DACC5F

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

Preview Lab → · Contrast checker → · Palette generator →

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