#A5AA3E#A5AA3E

#A5AA3E is a light, vivid yellow. Relative luminance 0.371; OKLCH L 71.3% C 0.130 H 111.8°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#A5AA3E
RGBrgb(165, 170, 62)
HSLhsl(63, 47%, 45%)
HSVhsv(63, 64%, 67%)
CMYKcmyk(2.9%, 0%, 63.5%, 33.3%)
CIE-LABlab(67.35, -15.98, 53.18)
CIE-LCHlch(67.35, 55.53, 106.72°)
OKLaboklab(71.3% -0.0483 0.1209)
OKLCHoklch(71.3% 0.13 111.8)
XYZxyz(30.7621, 37.0973, 10.0965)
Luminance0.3710 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5AA3E #433EAA
analogous
#AA793E #A5AA3E #6FAA3E
triadic
#A5AA3E #3EA5AA #AA3EA5
tetradic
#A5AA3E #3EAA79 #433EAA #AA3E6F
square
#A5AA3E #3EAA79 #433EAA #AA3E6F
split-complementary
#A5AA3E #3E6FAA #793EAA
monochromatic
#4E501D #797D2E #A5AA3E #C0C560 #D2D58D

Accessibility & contrast

On white

2.49
#A5AA3E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#A5AA3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5AA3E
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5AA3E#FFFFFF#000000##000000
##A5AA3E1.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A330
Deuteranopia (green-blind)
#B7A545
Tritanopia (blue-blind)
#B0A094
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a5aa3e;
/* rgb */ color: rgb(165, 170, 62);
/* oklch */ color: oklch(71.3% 0.130 111.8);
Tailwind
colors: {
  custom: {
    50: '#c2c379',
    500: '#a5aa3e',
    950: '#000000',
  },
}
SCSS
$custom: #a5aa3e;
$custom-light: #c2c379;
$custom-dark: #000000;
JSON
{
  "hex": "#a5aa3e",
  "rgb": {
    "r": 165,
    "g": 170,
    "b": 62
  },
  "hsl": {
    "h": 62.778,
    "s": 46.552,
    "l": 45.49
  },
  "oklch": {
    "l": 0.71303,
    "c": 0.13015,
    "h": 111.8
  },
  "luminance": 0.37097
}

Semantic roles & 50–950 ramp

primary
#A5AA3E
secondary
#8684C0
accent
#52D658
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#131209
muted
#82817B

Preview Lab

Preview with #A5AA3E

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

Preview Lab → · Contrast checker → · Palette generator →

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