#A5A62E#A5A62E

#A5A62E is a light, vivid yellow. Relative luminance 0.355; OKLCH L 70.3% C 0.137 H 109.9°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#A5A62E
RGBrgb(165, 166, 46)
HSLhsl(61, 57%, 42%)
HSVhsv(61, 72%, 65%)
CMYKcmyk(0.6%, 0%, 72.3%, 34.9%)
CIE-LABlab(66.11, -14.84, 58.27)
CIE-LCHlch(66.11, 60.13, 104.29°)
OKLaboklab(70.28% -0.0468 0.1289)
OKLCHoklch(70.28% 0.137 109.9)
XYZxyz(29.6475, 35.4699, 7.8689)
Luminance0.3547 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A62E #2F2EA6
analogous
#A66B2E #A5A62E #69A62E
triadic
#A5A62E #2EA5A6 #A62EA5
tetradic
#A5A62E #2EA66B #2F2EA6 #A62E69
square
#A5A62E #2EA66B #2F2EA6 #A62E69
split-complementary
#A5A62E #2E69A6 #6B2EA6
monochromatic
#464613 #757621 #A5A62E #CBCC46 #D8D976

Accessibility & contrast

On white

2.59
#A5A62E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#A5A62E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A62E
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A62E#FFFFFF#000000##000000
##A5A62E1.002.598.098.09
#FFFFFF2.591.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F18
Deuteranopia (green-blind)
#B5A237
Tritanopia (blue-blind)
#B19B8F
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a5a62e;
/* rgb */ color: rgb(165, 166, 46);
/* oklch */ color: oklch(70.3% 0.137 109.9);
Tailwind
colors: {
  custom: {
    50: '#c3c06f',
    500: '#a5a62e',
    950: '#000000',
  },
}
SCSS
$custom: #a5a62e;
$custom-light: #c3c06f;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a62e",
  "rgb": {
    "r": 165,
    "g": 166,
    "b": 46
  },
  "hsl": {
    "h": 60.5,
    "s": 56.604,
    "l": 41.569
  },
  "oklch": {
    "l": 0.70277,
    "c": 0.13714,
    "h": 109.9
  },
  "luminance": 0.35469
}

Semantic roles & 50–950 ramp

primary
#A5A62E
secondary
#706FC1
accent
#48E049
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A5A62E

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

Preview Lab → · Contrast checker → · Palette generator →

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