#DAC048#DAC048

#DAC048 is a light, vivid yellow. Relative luminance 0.531; OKLCH L 80.8% C 0.139 H 96.9°. Best body text is #000000 at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#DAC048
RGBrgb(218, 192, 72)
HSLhsl(49, 66%, 57%)
HSVhsv(49, 67%, 85%)
CMYKcmyk(0%, 11.9%, 67%, 14.5%)
CIE-LABlab(77.92, -4.08, 61.48)
CIE-LCHlch(77.92, 61.61, 93.80°)
OKLaboklab(80.83% -0.0166 0.1384)
OKLCHoklch(80.83% 0.139 96.9)
XYZxyz(48.9351, 53.0750, 13.7966)
Luminance0.5307 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAC048 #4862DA
analogous
#DA7748 #DAC048 #ABDA48
triadic
#DAC048 #48DAC0 #C048DA
tetradic
#DAC048 #48DA77 #4862DA #DA48AB
square
#DAC048 #48DA77 #4862DA #DA48AB
split-complementary
#DAC048 #48ABDA #7748DA
monochromatic
#8B781C #BEA326 #DAC048 #E4D27B #EFE3AE

Accessibility & contrast

On white

1.81
#DAC048 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.61
#DAC048 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAC048
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAC048#FFFFFF#000000##000000
##DAC0481.001.8111.6111.61
#FFFFFF1.811.0021.0021.00
#00000011.6121.001.001.00
##00000011.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC38
Deuteranopia (green-blind)
#D9C44E
Tritanopia (blue-blind)
#EBB2A7
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #dac048;
/* rgb */ color: rgb(218, 192, 72);
/* oklch */ color: oklch(80.8% 0.139 96.9);
Tailwind
colors: {
  custom: {
    50: '#e9d281',
    500: '#dac048',
    950: '#000000',
  },
}
SCSS
$custom: #dac048;
$custom-light: #e9d281;
$custom-dark: #000000;
JSON
{
  "hex": "#dac048",
  "rgb": {
    "r": 218,
    "g": 192,
    "b": 72
  },
  "hsl": {
    "h": 49.315,
    "s": 66.364,
    "l": 56.863
  },
  "oklch": {
    "l": 0.8083,
    "c": 0.13944,
    "h": 96.9
  },
  "luminance": 0.53073
}

Semantic roles & 50–950 ramp

primary
#DAC048
secondary
#354591
accent
#5DE93F
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DAC048

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

Preview Lab → · Contrast checker → · Palette generator →

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