#DAC34F#DAC34F

#DAC34F is a light, vivid yellow. Relative luminance 0.545; OKLCH L 81.5% C 0.137 H 98.0°. Best body text is #000000 at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#DAC34F
RGBrgb(218, 195, 79)
HSLhsl(50, 65%, 58%)
HSVhsv(50, 64%, 85%)
CMYKcmyk(0%, 10.6%, 63.8%, 14.5%)
CIE-LABlab(78.75, -5.22, 59.41)
CIE-LCHlch(78.75, 59.64, 95.02°)
OKLaboklab(81.51% -0.0191 0.1352)
OKLCHoklch(81.51% 0.137 98)
XYZxyz(49.8420, 54.5025, 15.2903)
Luminance0.5450 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAC34F #4F66DA
analogous
#DA7D4F #DAC34F #ABDA4F
triadic
#DAC34F #4FDAC3 #C34FDA
tetradic
#DAC34F #4FDA7D #4F66DA #DA4FAB
square
#DAC34F #4FDA7D #4F66DA #DA4FAB
split-complementary
#DAC34F #4FABDA #7D4FDA
monochromatic
#907D1E #C3A929 #DAC34F #E5D482 #EFE5B4

Accessibility & contrast

On white

1.76
#DAC34F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.90
#DAC34F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAC34F
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAC34F#FFFFFF#000000##000000
##DAC34F1.001.7611.9011.90
#FFFFFF1.761.0021.0021.00
#00000011.9021.001.001.00
##00000011.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE41
Deuteranopia (green-blind)
#DBC655
Tritanopia (blue-blind)
#EAB5AA
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #dac34f;
/* rgb */ color: rgb(218, 195, 79);
/* oklch */ color: oklch(81.5% 0.137 98.0);
Tailwind
colors: {
  custom: {
    50: '#e9d485',
    500: '#dac34f',
    950: '#000000',
  },
}
SCSS
$custom: #dac34f;
$custom-light: #e9d485;
$custom-dark: #000000;
JSON
{
  "hex": "#dac34f",
  "rgb": {
    "r": 218,
    "g": 195,
    "b": 79
  },
  "hsl": {
    "h": 50.072,
    "s": 65.258,
    "l": 58.235
  },
  "oklch": {
    "l": 0.81509,
    "c": 0.1365,
    "h": 98
  },
  "luminance": 0.545
}

Semantic roles & 50–950 ramp

primary
#DAC34F
secondary
#384795
accent
#5BE840
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DAC34F

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

Preview Lab → · Contrast checker → · Palette generator →

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