#ADA540#ADA540

#ADA540 is a light, vivid yellow. Relative luminance 0.362; OKLCH L 70.9% C 0.122 H 104.8°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#ADA540
RGBrgb(173, 165, 64)
HSLhsl(56, 46%, 46%)
HSVhsv(56, 63%, 68%)
CMYKcmyk(0%, 4.6%, 63%, 32.2%)
CIE-LABlab(66.65, -9.80, 51.77)
CIE-LCHlch(66.65, 52.68, 100.72°)
OKLaboklab(70.91% -0.0311 0.118)
OKLCHoklch(70.91% 0.122 104.8)
XYZxyz(31.6153, 36.1658, 10.1648)
Luminance0.3617 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ADA540 #4048AD
analogous
#AD6F40 #ADA540 #7FAD40
triadic
#ADA540 #40ADA5 #A540AD
tetradic
#ADA540 #40AD6F #4048AD #AD407F
square
#ADA540 #40AD6F #4048AD #AD407F
split-complementary
#ADA540 #407FAD #6F40AD
monochromatic
#54501F #807A2F #ADA540 #C6BF64 #D6D191

Accessibility & contrast

On white

2.55
#ADA540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#ADA540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ADA540
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ADA540#FFFFFF#000000##000000
##ADA5401.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F34
Deuteranopia (green-blind)
#B6A446
Tritanopia (blue-blind)
#B99A90
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ada540;
/* rgb */ color: rgb(173, 165, 64);
/* oklch */ color: oklch(70.9% 0.122 104.8);
Tailwind
colors: {
  custom: {
    50: '#c8bf79',
    500: '#ada540',
    950: '#000000',
  },
}
SCSS
$custom: #ada540;
$custom-light: #c8bf79;
$custom-dark: #000000;
JSON
{
  "hex": "#ada540",
  "rgb": {
    "r": 173,
    "g": 165,
    "b": 64
  },
  "hsl": {
    "h": 55.596,
    "s": 45.992,
    "l": 46.471
  },
  "oklch": {
    "l": 0.7091,
    "c": 0.12199,
    "h": 104.8
  },
  "luminance": 0.36165
}

Semantic roles & 50–950 ramp

primary
#ADA540
secondary
#878CC2
accent
#5CD652
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#131209
muted
#82817B

Preview Lab

Preview with #ADA540

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

Preview Lab → · Contrast checker → · Palette generator →

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