#DABA38#DABA38

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

Color values

HEX#DABA38
RGBrgb(218, 186, 56)
HSLhsl(48, 69%, 54%)
HSVhsv(48, 74%, 85%)
CMYKcmyk(0%, 14.7%, 74.3%, 14.5%)
CIE-LABlab(76.26, -1.76, 66.02)
CIE-LCHlch(76.26, 66.04, 91.52°)
OKLaboklab(79.48% -0.0117 0.1452)
OKLCHoklch(79.48% 0.146 94.6)
XYZxyz(47.1887, 50.3114, 10.9662)
Luminance0.5031 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DABA38 #3858DA
analogous
#DA6938 #DABA38 #A9DA38
triadic
#DABA38 #38DABA #BA38DA
tetradic
#DABA38 #38DA69 #3858DA #DA38A9
square
#DABA38 #38DA69 #3858DA #DA38A9
split-complementary
#DABA38 #38A9DA #6938DA
monochromatic
#806B18 #B39721 #DABA38 #E4CC6C #EDDE9F

Accessibility & contrast

On white

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

On black

11.06
#DABA38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DABA38
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DABA38#FFFFFF#000000##000000
##DABA381.001.9011.0611.06
#FFFFFF1.901.0021.0021.00
#00000011.0621.001.001.00
##00000011.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB621
Deuteranopia (green-blind)
#D6C040
Tritanopia (blue-blind)
#ECABA1
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #daba38;
/* rgb */ color: rgb(218, 186, 56);
/* oklch */ color: oklch(79.5% 0.146 94.6);
Tailwind
colors: {
  custom: {
    50: '#eace78',
    500: '#daba38',
    950: '#000000',
  },
}
SCSS
$custom: #daba38;
$custom-light: #eace78;
$custom-dark: #000000;
JSON
{
  "hex": "#daba38",
  "rgb": {
    "r": 218,
    "g": 186,
    "b": 56
  },
  "hsl": {
    "h": 48.148,
    "s": 68.644,
    "l": 53.725
  },
  "oklch": {
    "l": 0.79482,
    "c": 0.14566,
    "h": 94.6
  },
  "luminance": 0.50309
}

Semantic roles & 50–950 ramp

primary
#DABA38
secondary
#2F4187
accent
#5FEB3C
background
#FFFEFB
surface
#FEFAF1
border
#D6D3CB
text
#171309
muted
#85837D

Preview Lab

Preview with #DABA38

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

Preview Lab → · Contrast checker → · Palette generator →

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