#A5AA1E#A5AA1E

#A5AA1E is a light, vivid yellow. Relative luminance 0.368; OKLCH L 71.1% C 0.149 H 111.8°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#A5AA1E
RGBrgb(165, 170, 30)
HSLhsl(62, 70%, 39%)
HSVhsv(62, 82%, 67%)
CMYKcmyk(2.9%, 0%, 82.4%, 33.3%)
CIE-LABlab(67.16, -17.53, 64.21)
CIE-LCHlch(67.16, 66.56, 105.27°)
OKLaboklab(71.09% -0.0556 0.1387)
OKLCHoklch(71.09% 0.149 111.8)
XYZxyz(30.1272, 36.8433, 6.7525)
Luminance0.3684 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5AA1E #231EAA
analogous
#AA691E #A5AA1E #5FAA1E
triadic
#A5AA1E #1EA5AA #AA1EA5
tetradic
#A5AA1E #1EAA69 #231EAA #AA1E5F
square
#A5AA1E #1EAA69 #231EAA #AA1E5F
split-complementary
#A5AA1E #1E5FAA #691EAA
monochromatic
#40420C #737615 #A5AA1E #D3DA2C #DEE360

Accessibility & contrast

On white

2.51
#A5AA1E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#A5AA1E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5AA1E
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5AA1E#FFFFFF#000000##000000
##A5AA1E1.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A200
Deuteranopia (green-blind)
#B8A52C
Tritanopia (blue-blind)
#B19F91
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a5aa1e;
/* rgb */ color: rgb(165, 170, 30);
/* oklch */ color: oklch(71.1% 0.149 111.8);
Tailwind
colors: {
  custom: {
    50: '#c4c369',
    500: '#a5aa1e',
    950: '#000000',
  },
}
SCSS
$custom: #a5aa1e;
$custom-light: #c4c369;
$custom-dark: #000000;
JSON
{
  "hex": "#a5aa1e",
  "rgb": {
    "r": 165,
    "g": 170,
    "b": 30
  },
  "hsl": {
    "h": 62.143,
    "s": 70,
    "l": 39.216
  },
  "oklch": {
    "l": 0.71089,
    "c": 0.14941,
    "h": 111.8
  },
  "luminance": 0.36843
}

Semantic roles & 50–950 ramp

primary
#A5AA1E
secondary
#605CC7
accent
#3BED41
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A5AA1E

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

Preview Lab → · Contrast checker → · Palette generator →

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