#A5AA26#A5AA26

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

Color values

HEX#A5AA26
RGBrgb(165, 170, 38)
HSLhsl(62, 63%, 41%)
HSVhsv(62, 78%, 67%)
CMYKcmyk(2.9%, 0%, 77.6%, 33.3%)
CIE-LABlab(67.19, -17.25, 61.96)
CIE-LCHlch(67.19, 64.32, 105.55°)
OKLaboklab(71.13% -0.0542 0.1353)
OKLCHoklch(71.13% 0.146 111.8)
XYZxyz(30.2427, 36.8895, 7.3606)
Luminance0.3689 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5AA26 #2B26AA
analogous
#AA6D26 #A5AA26 #63AA26
triadic
#A5AA26 #26A5AA #AA26A5
tetradic
#A5AA26 #26AA6D #2B26AA #AA2663
square
#A5AA26 #26AA6D #2B26AA #AA2663
split-complementary
#A5AA26 #2663AA #6D26AA
monochromatic
#444610 #74781B #A5AA26 #CDD33A #DADE6C

Accessibility & contrast

On white

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

On black

8.38
#A5AA26 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5AA26
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5AA26#FFFFFF#000000##000000
##A5AA261.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A200
Deuteranopia (green-blind)
#B8A532
Tritanopia (blue-blind)
#B19F92
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a5aa26;
/* rgb */ color: rgb(165, 170, 38);
/* oklch */ color: oklch(71.1% 0.146 111.8);
Tailwind
colors: {
  custom: {
    50: '#c3c36c',
    500: '#a5aa26',
    950: '#000000',
  },
}
SCSS
$custom: #a5aa26;
$custom-light: #c3c36c;
$custom-dark: #000000;
JSON
{
  "hex": "#a5aa26",
  "rgb": {
    "r": 165,
    "g": 170,
    "b": 38
  },
  "hsl": {
    "h": 62.273,
    "s": 63.462,
    "l": 40.784
  },
  "oklch": {
    "l": 0.71128,
    "c": 0.14575,
    "h": 111.8
  },
  "luminance": 0.36889
}

Semantic roles & 50–950 ramp

primary
#A5AA26
secondary
#6B67C5
accent
#41E648
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A5AA26

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

Preview Lab → · Contrast checker → · Palette generator →

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