#DAB948#DAB948

#DAB948 is a light, vivid yellow. Relative luminance 0.501; OKLCH L 79.4% C 0.135 H 92.6°. Best body text is #000000 at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#DAB948
RGBrgb(218, 185, 72)
HSLhsl(46, 66%, 57%)
HSVhsv(46, 67%, 85%)
CMYKcmyk(0%, 15.1%, 67%, 14.5%)
CIE-LABlab(76.11, -0.44, 59.59)
CIE-LCHlch(76.11, 59.59, 90.43°)
OKLaboklab(79.4% -0.0062 0.1344)
OKLCHoklch(79.4% 0.135 92.6)
XYZxyz(47.4345, 50.0739, 13.2964)
Luminance0.5007 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAB948 #4869DA
analogous
#DA7048 #DAB948 #B2DA48
triadic
#DAB948 #48DAB9 #B948DA
tetradic
#DAB948 #48DA70 #4869DA #DA48B2
square
#DAB948 #48DA70 #4869DA #DA48B2
split-complementary
#DAB948 #48B2DA #7048DA
monochromatic
#8B721C #BE9C26 #DAB948 #E4CC7B #EFE0AE

Accessibility & contrast

On white

1.91
#DAB948 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.01
#DAB948 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAB948
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAB948#FFFFFF#000000##000000
##DAB9481.001.9111.0111.01
#FFFFFF1.911.0021.0021.00
#00000011.0121.001.001.00
##00000011.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB63A
Deuteranopia (green-blind)
#D4C04E
Tritanopia (blue-blind)
#EBABA1
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #dab948;
/* rgb */ color: rgb(218, 185, 72);
/* oklch */ color: oklch(79.4% 0.135 92.6);
Tailwind
colors: {
  custom: {
    50: '#e9cd80',
    500: '#dab948',
    950: '#000000',
  },
}
SCSS
$custom: #dab948;
$custom-light: #e9cd80;
$custom-dark: #000000;
JSON
{
  "hex": "#dab948",
  "rgb": {
    "r": 218,
    "g": 185,
    "b": 72
  },
  "hsl": {
    "h": 46.438,
    "s": 66.364,
    "l": 56.863
  },
  "oklch": {
    "l": 0.79403,
    "c": 0.13459,
    "h": 92.6
  },
  "luminance": 0.50071
}

Semantic roles & 50–950 ramp

primary
#DAB948
secondary
#354A91
accent
#65E93F
background
#FFFEFB
surface
#FEFAF2
border
#D6D3CC
text
#17130B
muted
#85837E

Preview Lab

Preview with #DAB948

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

Preview Lab → · Contrast checker → · Palette generator →

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