#DABA3B#DABA3B

#DABA3B is a light, vivid yellow. Relative luminance 0.503; OKLCH L 79.5% C 0.144 H 94.4°. Best body text is #000000 at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#DABA3B
RGBrgb(218, 186, 59)
HSLhsl(48, 68%, 54%)
HSVhsv(48, 73%, 85%)
CMYKcmyk(0%, 14.7%, 72.9%, 14.5%)
CIE-LABlab(76.28, -1.62, 64.94)
CIE-LCHlch(76.28, 64.96, 91.43°)
OKLaboklab(79.5% -0.0111 0.1435)
OKLCHoklch(79.5% 0.144 94.4)
XYZxyz(47.2643, 50.3417, 11.3642)
Luminance0.5034 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DABA3B #3B5BDA
analogous
#DA6B3B #DABA3B #AADA3B
triadic
#DABA3B #3BDABA #BA3BDA
tetradic
#DABA3B #3BDA6B #3B5BDA #DA3BAA
square
#DABA3B #3BDA6B #3B5BDA #DA3BAA
split-complementary
#DABA3B #3BAADA #6B3BDA
monochromatic
#826D19 #B69822 #DABA3B #E4CC6E #EDDEA2

Accessibility & contrast

On white

1.90
#DABA3B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.07
#DABA3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DABA3B
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DABA3B#FFFFFF#000000##000000
##DABA3B1.001.9011.0711.07
#FFFFFF1.901.0021.0021.00
#00000011.0721.001.001.00
##00000011.0721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #daba3b;
/* rgb */ color: rgb(218, 186, 59);
/* oklch */ color: oklch(79.5% 0.144 94.4);
Tailwind
colors: {
  custom: {
    50: '#eace79',
    500: '#daba3b',
    950: '#000000',
  },
}
SCSS
$custom: #daba3b;
$custom-light: #eace79;
$custom-dark: #000000;
JSON
{
  "hex": "#daba3b",
  "rgb": {
    "r": 218,
    "g": 186,
    "b": 59
  },
  "hsl": {
    "h": 47.925,
    "s": 68.24,
    "l": 54.314
  },
  "oklch": {
    "l": 0.79502,
    "c": 0.1439,
    "h": 94.4
  },
  "luminance": 0.50339
}

Semantic roles & 50–950 ramp

primary
#DABA3B
secondary
#304289
accent
#60EB3D
background
#FFFEFB
surface
#FEFAF2
border
#D6D3CC
text
#17130A
muted
#85837D

Preview Lab

Preview with #DABA3B

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

Preview Lab → · Contrast checker → · Palette generator →

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