#DAB852#DAB852

#DAB852 is a light, vivid yellow. Relative luminance 0.498; OKLCH L 79.3% C 0.126 H 90.8°. Best body text is #000000 at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#DAB852
RGBrgb(218, 184, 82)
HSLhsl(45, 65%, 59%)
HSVhsv(45, 62%, 85%)
CMYKcmyk(0%, 15.6%, 62.4%, 14.5%)
CIE-LABlab(75.95, 0.69, 55.03)
CIE-LCHlch(75.95, 55.04, 89.28°)
OKLaboklab(79.3% -0.0017 0.1263)
OKLCHoklch(79.3% 0.126 90.8)
XYZxyz(47.5792, 49.7982, 15.0869)
Luminance0.4980 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAB852 #5274DA
analogous
#DA7452 #DAB852 #B8DA52
triadic
#DAB852 #52DAB8 #B852DA
tetradic
#DAB852 #52DA74 #5274DA #DA52B8
square
#DAB852 #52DA74 #5274DA #DA52B8
split-complementary
#DAB852 #52B8DA #7452DA
monochromatic
#92761F #C59E2A #DAB852 #E5CD84 #F0E1B7

Accessibility & contrast

On white

1.92
#DAB852 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.96
#DAB852 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAB852
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAB852#FFFFFF#000000##000000
##DAB8521.001.9210.9610.96
#FFFFFF1.921.0021.0021.00
#00000010.9621.001.001.00
##00000010.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB647
Deuteranopia (green-blind)
#D3BF56
Tritanopia (blue-blind)
#EBAAA2
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #dab852;
/* rgb */ color: rgb(218, 184, 82);
/* oklch */ color: oklch(79.3% 0.126 90.8);
Tailwind
colors: {
  custom: {
    50: '#e9cd86',
    500: '#dab852',
    950: '#000000',
  },
}
SCSS
$custom: #dab852;
$custom-light: #e9cd86;
$custom-dark: #000000;
JSON
{
  "hex": "#dab852",
  "rgb": {
    "r": 218,
    "g": 184,
    "b": 82
  },
  "hsl": {
    "h": 45,
    "s": 64.762,
    "l": 58.824
  },
  "oklch": {
    "l": 0.79297,
    "c": 0.12628,
    "h": 90.8
  },
  "luminance": 0.49796
}

Semantic roles & 50–950 ramp

primary
#DAB852
secondary
#A9B7DF
accent
#6AE840
background
#FEFCF8
surface
#FDF8F0
border
#D5D1CB
text
#17130B
muted
#85827C

Preview Lab

Preview with #DAB852

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

Preview Lab → · Contrast checker → · Palette generator →

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