#DAC25B#DAC25B

#DAC25B is a light, vivid yellow. Relative luminance 0.542; OKLCH L 81.4% C 0.126 H 96.3°. Best body text is #000000 at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#DAC25B
RGBrgb(218, 194, 91)
HSLhsl(49, 63%, 61%)
HSVhsv(49, 58%, 85%)
CMYKcmyk(0%, 11%, 58.3%, 14.5%)
CIE-LABlab(78.61, -3.90, 53.90)
CIE-LCHlch(78.61, 54.04, 94.14°)
OKLaboklab(81.43% -0.0139 0.125)
OKLCHoklch(81.43% 0.126 96.3)
XYZxyz(50.0956, 54.2466, 17.7274)
Luminance0.5424 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAC25B #5B73DA
analogous
#DA825B #DAC25B #B3DA5B
triadic
#DAC25B #5BDAC2 #C25BDA
tetradic
#DAC25B #5BDA82 #5B73DA #DA5BB3
square
#DAC25B #5BDA82 #5B73DA #DA5BB3
split-complementary
#DAC25B #5BB3DA #825BDA
monochromatic
#988222 #CAAD2E #DAC25B #E5D58D #F1E7BF

Accessibility & contrast

On white

1.77
#DAC25B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.85
#DAC25B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAC25B
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAC25B#FFFFFF#000000##000000
##DAC25B1.001.7711.8511.85
#FFFFFF1.771.0021.0021.00
#00000011.8521.001.001.00
##00000011.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BE51
Deuteranopia (green-blind)
#DAC660
Tritanopia (blue-blind)
#EAB5AB
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #dac25b;
/* rgb */ color: rgb(218, 194, 91);
/* oklch */ color: oklch(81.4% 0.126 96.3);
Tailwind
colors: {
  custom: {
    50: '#e8d48d',
    500: '#dac25b',
    950: '#000000',
  },
}
SCSS
$custom: #dac25b;
$custom-light: #e8d48d;
$custom-dark: #000000;
JSON
{
  "hex": "#dac25b",
  "rgb": {
    "r": 218,
    "g": 194,
    "b": 91
  },
  "hsl": {
    "h": 48.661,
    "s": 63.184,
    "l": 60.588
  },
  "oklch": {
    "l": 0.81427,
    "c": 0.12578,
    "h": 96.3
  },
  "luminance": 0.54244
}

Semantic roles & 50–950 ramp

primary
#DAC25B
secondary
#3D4F9D
accent
#3CCB1B
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #DAC25B

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

Preview Lab → · Contrast checker → · Palette generator →

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