#DAC254#DAC254

#DAC254 is a light, vivid yellow. Relative luminance 0.541; OKLCH L 81.4% C 0.132 H 97.0°. Best body text is #000000 at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#DAC254
RGBrgb(218, 194, 84)
HSLhsl(49, 64%, 59%)
HSVhsv(49, 61%, 85%)
CMYKcmyk(0%, 11%, 61.5%, 14.5%)
CIE-LABlab(78.54, -4.38, 57.00)
CIE-LCHlch(78.54, 57.16, 94.40°)
OKLaboklab(81.35% -0.0161 0.1307)
OKLCHoklch(81.35% 0.132 97)
XYZxyz(49.8076, 54.1314, 16.2106)
Luminance0.5413 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAC254 #546CDA
analogous
#DA7F54 #DAC254 #AFDA54
triadic
#DAC254 #54DAC2 #C254DA
tetradic
#DAC254 #54DA7F #546CDA #DA54AF
square
#DAC254 #54DA7F #546CDA #DA54AF
split-complementary
#DAC254 #54AFDA #7F54DA
monochromatic
#947F20 #C6AA2B #DAC254 #E5D486 #F0E6B9

Accessibility & contrast

On white

1.78
#DAC254 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.83
#DAC254 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAC254
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAC254#FFFFFF#000000##000000
##DAC2541.001.7811.8311.83
#FFFFFF1.781.0021.0021.00
#00000011.8321.001.001.00
##00000011.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BE48
Deuteranopia (green-blind)
#DAC659
Tritanopia (blue-blind)
#EAB5AA
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #dac254;
/* rgb */ color: rgb(218, 194, 84);
/* oklch */ color: oklch(81.4% 0.132 97.0);
Tailwind
colors: {
  custom: {
    50: '#e9d488',
    500: '#dac254',
    950: '#000000',
  },
}
SCSS
$custom: #dac254;
$custom-light: #e9d488;
$custom-dark: #000000;
JSON
{
  "hex": "#dac254",
  "rgb": {
    "r": 218,
    "g": 194,
    "b": 84
  },
  "hsl": {
    "h": 49.254,
    "s": 64.423,
    "l": 59.216
  },
  "oklch": {
    "l": 0.81352,
    "c": 0.13172,
    "h": 97
  },
  "luminance": 0.54129
}

Semantic roles & 50–950 ramp

primary
#DAC254
secondary
#3A4B98
accent
#5EE740
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #DAC254

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

Preview Lab → · Contrast checker → · Palette generator →

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