#DAB74A#DAB74A

#DAB74A is a light, vivid yellow. Relative luminance 0.493; OKLCH L 79.0% C 0.132 H 91.1°. Best body text is #000000 at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#DAB74A
RGBrgb(218, 183, 74)
HSLhsl(45, 66%, 57%)
HSVhsv(45, 66%, 85%)
CMYKcmyk(0%, 16.1%, 66.1%, 14.5%)
CIE-LABlab(75.62, 0.72, 58.22)
CIE-LCHlch(75.62, 58.22, 89.29°)
OKLaboklab(79.02% -0.0026 0.1319)
OKLCHoklch(79.02% 0.132 91.1)
XYZxyz(47.0854, 49.2695, 13.5071)
Luminance0.4927 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAB74A #4A6DDA
analogous
#DA6F4A #DAB74A #B5DA4A
triadic
#DAB74A #4ADAB7 #B74ADA
tetradic
#DAB74A #4ADA6F #4A6DDA #DA4AB5
square
#DAB74A #4ADA6F #4A6DDA #DA4AB5
split-complementary
#DAB74A #4AB5DA #6F4ADA
monochromatic
#8D721D #C09B27 #DAB74A #E4CB7D #EFDFB0

Accessibility & contrast

On white

1.93
#DAB74A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.85
#DAB74A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAB74A
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAB74A#FFFFFF#000000##000000
##DAB74A1.001.9310.8510.85
#FFFFFF1.931.0021.0021.00
#00000010.8521.001.001.00
##00000010.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB53D
Deuteranopia (green-blind)
#D3BF4F
Tritanopia (blue-blind)
#EBA9A0
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #dab74a;
/* rgb */ color: rgb(218, 183, 74);
/* oklch */ color: oklch(79.0% 0.132 91.1);
Tailwind
colors: {
  custom: {
    50: '#e9cc81',
    500: '#dab74a',
    950: '#000000',
  },
}
SCSS
$custom: #dab74a;
$custom-light: #e9cc81;
$custom-dark: #000000;
JSON
{
  "hex": "#dab74a",
  "rgb": {
    "r": 218,
    "g": 183,
    "b": 74
  },
  "hsl": {
    "h": 45.417,
    "s": 66.055,
    "l": 57.255
  },
  "oklch": {
    "l": 0.79017,
    "c": 0.13189,
    "h": 91.1
  },
  "luminance": 0.49267
}

Semantic roles & 50–950 ramp

primary
#DAB74A
secondary
#A3B1DD
accent
#68E93F
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#17130B
muted
#85827C

Preview Lab

Preview with #DAB74A

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

Preview Lab → · Contrast checker → · Palette generator →

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