#A5AA2F#A5AA2F

#A5AA2F is a light, vivid yellow. Relative luminance 0.370; OKLCH L 71.2% C 0.141 H 111.8°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#A5AA2F
RGBrgb(165, 170, 47)
HSLhsl(62, 57%, 43%)
HSVhsv(62, 72%, 67%)
CMYKcmyk(2.9%, 0%, 72.4%, 33.3%)
CIE-LABlab(67.24, -16.85, 58.99)
CIE-LCHlch(67.24, 61.35, 105.94°)
OKLaboklab(71.18% -0.0523 0.1306)
OKLCHoklch(71.18% 0.141 111.8)
XYZxyz(30.4058, 36.9548, 8.2201)
Luminance0.3695 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5AA2F #342FAA
analogous
#AA712F #A5AA2F #68AA2F
triadic
#A5AA2F #2FA5AA #AA2FA5
tetradic
#A5AA2F #2FAA71 #342FAA #AA2F68
square
#A5AA2F #2FAA71 #342FAA #AA2F68
split-complementary
#A5AA2F #2F68AA #712FAA
monochromatic
#484A14 #767A22 #A5AA2F #C7CD49 #D6DA79

Accessibility & contrast

On white

2.50
#A5AA2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.39
#A5AA2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5AA2F
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5AA2F#FFFFFF#000000##000000
##A5AA2F1.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A218
Deuteranopia (green-blind)
#B8A539
Tritanopia (blue-blind)
#B09F92
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a5aa2f;
/* rgb */ color: rgb(165, 170, 47);
/* oklch */ color: oklch(71.2% 0.141 111.8);
Tailwind
colors: {
  custom: {
    50: '#c3c370',
    500: '#a5aa2f',
    950: '#000000',
  },
}
SCSS
$custom: #a5aa2f;
$custom-light: #c3c370;
$custom-dark: #000000;
JSON
{
  "hex": "#a5aa2f",
  "rgb": {
    "r": 165,
    "g": 170,
    "b": 47
  },
  "hsl": {
    "h": 62.439,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.71183,
    "c": 0.14071,
    "h": 111.8
  },
  "luminance": 0.36954
}

Semantic roles & 50–950 ramp

primary
#A5AA2F
secondary
#7672C2
accent
#48E04E
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A5AA2F

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

Preview Lab → · Contrast checker → · Palette generator →

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