#DAB74E#DAB74E

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

Color values

HEX#DAB74E
RGBrgb(218, 183, 78)
HSLhsl(45, 65%, 58%)
HSVhsv(45, 64%, 85%)
CMYKcmyk(0%, 16.1%, 64.2%, 14.5%)
CIE-LABlab(75.65, 0.96, 56.51)
CIE-LCHlch(75.65, 56.51, 89.03°)
OKLaboklab(79.05% -0.0014 0.1288)
OKLCHoklch(79.05% 0.129 90.6)
XYZxyz(47.2244, 49.3251, 14.2395)
Luminance0.4932 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAB74E #4E71DA
analogous
#DA714E #DAB74E #B7DA4E
triadic
#DAB74E #4EDAB7 #B74EDA
tetradic
#DAB74E #4EDA71 #4E71DA #DA4EB7
square
#DAB74E #4EDA71 #4E71DA #DA4EB7
split-complementary
#DAB74E #4EB7DA #714EDA
monochromatic
#90731E #C29C29 #DAB74E #E5CC81 #EFE0B3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DAB74E#FFFFFF#000000##000000
##DAB74E1.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)
#CAB542
Deuteranopia (green-blind)
#D2BF53
Tritanopia (blue-blind)
#EBA9A0
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #dab74e;
/* rgb */ color: rgb(218, 183, 78);
/* oklch */ color: oklch(79.1% 0.129 90.6);
Tailwind
colors: {
  custom: {
    50: '#e9cc84',
    500: '#dab74e',
    950: '#000000',
  },
}
SCSS
$custom: #dab74e;
$custom-light: #e9cc84;
$custom-dark: #000000;
JSON
{
  "hex": "#dab74e",
  "rgb": {
    "r": 218,
    "g": 183,
    "b": 78
  },
  "hsl": {
    "h": 45,
    "s": 65.421,
    "l": 58.039
  },
  "oklch": {
    "l": 0.79055,
    "c": 0.12885,
    "h": 90.6
  },
  "luminance": 0.49322
}

Semantic roles & 50–950 ramp

primary
#DAB74E
secondary
#A6B4DE
accent
#6AE83F
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#17130B
muted
#85827C

Preview Lab

Preview with #DAB74E

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

Preview Lab → · Contrast checker → · Palette generator →

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