#DAC158#DAC158

#DAC158 is a light, vivid yellow. Relative luminance 0.537; OKLCH L 81.2% C 0.128 H 96.0°. Best body text is #000000 at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#DAC158
RGBrgb(218, 193, 88)
HSLhsl(48, 64%, 60%)
HSVhsv(48, 60%, 85%)
CMYKcmyk(0%, 11.5%, 59.6%, 14.5%)
CIE-LABlab(78.32, -3.59, 54.95)
CIE-LCHlch(78.32, 55.07, 93.74°)
OKLaboklab(81.19% -0.0134 0.1269)
OKLCHoklch(81.19% 0.128 96)
XYZxyz(49.7469, 53.7523, 16.9855)
Luminance0.5375 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAC158 #5871DA
analogous
#DA8058 #DAC158 #B2DA58
triadic
#DAC158 #58DAC1 #C158DA
tetradic
#DAC158 #58DA80 #5871DA #DA58B2
square
#DAC158 #58DA80 #5871DA #DA58B2
split-complementary
#DAC158 #58B2DA #8058DA
monochromatic
#968021 #C8AA2C #DAC158 #E5D48A #F0E6BC

Accessibility & contrast

On white

1.79
#DAC158 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.75
#DAC158 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAC158
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAC158#FFFFFF#000000##000000
##DAC1581.001.7911.7511.75
#FFFFFF1.791.0021.0021.00
#00000011.7521.001.001.00
##00000011.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BD4D
Deuteranopia (green-blind)
#D9C55D
Tritanopia (blue-blind)
#EAB4AA
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #dac158;
/* rgb */ color: rgb(218, 193, 88);
/* oklch */ color: oklch(81.2% 0.128 96.0);
Tailwind
colors: {
  custom: {
    50: '#e8d38b',
    500: '#dac158',
    950: '#000000',
  },
}
SCSS
$custom: #dac158;
$custom-light: #e8d38b;
$custom-dark: #000000;
JSON
{
  "hex": "#dac158",
  "rgb": {
    "r": 218,
    "g": 193,
    "b": 88
  },
  "hsl": {
    "h": 48.462,
    "s": 63.725,
    "l": 60
  },
  "oklch": {
    "l": 0.81189,
    "c": 0.12759,
    "h": 96
  },
  "luminance": 0.5375
}

Semantic roles & 50–950 ramp

primary
#DAC158
secondary
#3B4E9B
accent
#61E741
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #DAC158

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

Preview Lab → · Contrast checker → · Palette generator →

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