#DAB74C#DAB74C

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

Color values

HEX#DAB74C
RGBrgb(218, 183, 76)
HSLhsl(45, 66%, 58%)
HSVhsv(45, 65%, 85%)
CMYKcmyk(0%, 16.1%, 65.1%, 14.5%)
CIE-LABlab(75.64, 0.84, 57.37)
CIE-LCHlch(75.64, 57.37, 89.16°)
OKLaboklab(79.04% -0.002 0.1304)
OKLCHoklch(79.04% 0.13 90.9)
XYZxyz(47.1538, 49.2969, 13.8676)
Luminance0.4929 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAB74C #4C6FDA
analogous
#DA704C #DAB74C #B6DA4C
triadic
#DAB74C #4CDAB7 #B74CDA
tetradic
#DAB74C #4CDA70 #4C6FDA #DA4CB6
square
#DAB74C #4CDA70 #4C6FDA #DA4CB6
split-complementary
#DAB74C #4CB6DA #704CDA
monochromatic
#8E721D #C19B28 #DAB74C #E4CB7F #EFE0B1

Accessibility & contrast

On white

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

On black

10.86
#DAB74C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAB74C
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAB74C#FFFFFF#000000##000000
##DAB74C1.001.9310.8610.86
#FFFFFF1.931.0021.0021.00
#00000010.8621.001.001.00
##00000010.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dab74c;
/* rgb */ color: rgb(218, 183, 76);
/* oklch */ color: oklch(79.0% 0.130 90.9);
Tailwind
colors: {
  custom: {
    50: '#e9cc83',
    500: '#dab74c',
    950: '#000000',
  },
}
SCSS
$custom: #dab74c;
$custom-light: #e9cc83;
$custom-dark: #000000;
JSON
{
  "hex": "#dab74c",
  "rgb": {
    "r": 218,
    "g": 183,
    "b": 76
  },
  "hsl": {
    "h": 45.211,
    "s": 65.741,
    "l": 57.647
  },
  "oklch": {
    "l": 0.79035,
    "c": 0.13038,
    "h": 90.9
  },
  "luminance": 0.49294
}

Semantic roles & 50–950 ramp

primary
#DAB74C
secondary
#A4B2DD
accent
#69E93F
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#17130B
muted
#85827C

Preview Lab

Preview with #DAB74C

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

Preview Lab → · Contrast checker → · Palette generator →

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