#DABA57#DABA57

#DABA57 is a light, vivid yellow. Relative luminance 0.507; OKLCH L 79.8% C 0.123 H 91.5°. Best body text is #000000 at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#DABA57
RGBrgb(218, 186, 87)
HSLhsl(45, 64%, 60%)
HSVhsv(45, 60%, 85%)
CMYKcmyk(0%, 14.7%, 60.1%, 14.5%)
CIE-LABlab(76.51, -0.02, 53.37)
CIE-LCHlch(76.51, 53.37, 90.02°)
OKLaboklab(79.75% -0.0032 0.1234)
OKLCHoklch(79.75% 0.123 91.5)
XYZxyz(48.1948, 50.7139, 16.2652)
Luminance0.5071 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DABA57 #5777DA
analogous
#DA7957 #DABA57 #B8DA57
triadic
#DABA57 #57DABA #BA57DA
tetradic
#DABA57 #57DA79 #5777DA #DA57B8
square
#DABA57 #57DA79 #5777DA #DA57B8
split-complementary
#DABA57 #57B8DA #7957DA
monochromatic
#967921 #C8A22C #DABA57 #E5CF89 #F0E3BB

Accessibility & contrast

On white

1.88
#DABA57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.14
#DABA57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DABA57
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DABA57#FFFFFF#000000##000000
##DABA571.001.8811.1411.14
#FFFFFF1.881.0021.0021.00
#00000011.1421.001.001.00
##00000011.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB74D
Deuteranopia (green-blind)
#D4C15B
Tritanopia (blue-blind)
#EAADA4
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #daba57;
/* rgb */ color: rgb(218, 186, 87);
/* oklch */ color: oklch(79.8% 0.123 91.5);
Tailwind
colors: {
  custom: {
    50: '#e8ce8a',
    500: '#daba57',
    950: '#000000',
  },
}
SCSS
$custom: #daba57;
$custom-light: #e8ce8a;
$custom-dark: #000000;
JSON
{
  "hex": "#daba57",
  "rgb": {
    "r": 218,
    "g": 186,
    "b": 87
  },
  "hsl": {
    "h": 45.344,
    "s": 63.902,
    "l": 59.804
  },
  "oklch": {
    "l": 0.79754,
    "c": 0.12342,
    "h": 91.5
  },
  "luminance": 0.50711
}

Semantic roles & 50–950 ramp

primary
#DABA57
secondary
#3B529A
accent
#69E741
background
#FFFEFC
surface
#FEFAF4
border
#D6D3CE
text
#16130C
muted
#85837F

Preview Lab

Preview with #DABA57

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

Preview Lab → · Contrast checker → · Palette generator →

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