#A5A02E#A5A02E

#A5A02E is a light, vivid yellow. Relative luminance 0.333; OKLCH L 68.9% C 0.131 H 106.9°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#A5A02E
RGBrgb(165, 160, 46)
HSLhsl(57, 56%, 41%)
HSVhsv(57, 72%, 65%)
CMYKcmyk(0%, 3%, 72.1%, 35.3%)
CIE-LABlab(64.43, -11.72, 56.65)
CIE-LCHlch(64.43, 57.85, 101.69°)
OKLaboklab(68.94% -0.038 0.1255)
OKLCHoklch(68.94% 0.131 106.9)
XYZxyz(28.5821, 33.3392, 7.5138)
Luminance0.3334 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A02E #2E33A5
analogous
#A5652E #A5A02E #6FA52E
triadic
#A5A02E #2EA5A0 #A02EA5
tetradic
#A5A02E #2EA565 #2E33A5 #A52E6F
square
#A5A02E #2EA565 #2E33A5 #A52E6F
split-complementary
#A5A02E #2E6FA5 #652EA5
monochromatic
#454313 #757221 #A5A02E #CBC645 #D8D475

Accessibility & contrast

On white

2.74
#A5A02E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#A5A02E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A02E
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A02E#FFFFFF#000000##000000
##A5A02E1.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A1A
Deuteranopia (green-blind)
#B09E36
Tritanopia (blue-blind)
#B1958A
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a5a02e;
/* rgb */ color: rgb(165, 160, 46);
/* oklch */ color: oklch(68.9% 0.131 106.9);
Tailwind
colors: {
  custom: {
    50: '#c3bb6f',
    500: '#a5a02e',
    950: '#000000',
  },
}
SCSS
$custom: #a5a02e;
$custom-light: #c3bb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a02e",
  "rgb": {
    "r": 165,
    "g": 160,
    "b": 46
  },
  "hsl": {
    "h": 57.479,
    "s": 56.398,
    "l": 41.373
  },
  "oklch": {
    "l": 0.68938,
    "c": 0.13114,
    "h": 106.9
  },
  "luminance": 0.33338
}

Semantic roles & 50–950 ramp

primary
#A5A02E
secondary
#6F72C0
accent
#4EE048
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131108
muted
#82807B

Preview Lab

Preview with #A5A02E

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

Preview Lab → · Contrast checker → · Palette generator →

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