#A5AA23#A5AA23

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

Color values

HEX#A5AA23
RGBrgb(165, 170, 35)
HSLhsl(62, 66%, 40%)
HSVhsv(62, 79%, 67%)
CMYKcmyk(2.9%, 0%, 79.4%, 33.3%)
CIE-LABlab(67.18, -17.36, 62.85)
CIE-LCHlch(67.18, 65.21, 105.44°)
OKLaboklab(71.11% -0.0547 0.1367)
OKLCHoklch(71.11% 0.147 111.8)
XYZxyz(30.1962, 36.8709, 7.1159)
Luminance0.3687 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5AA23 #2823AA
analogous
#AA6B23 #A5AA23 #62AA23
triadic
#A5AA23 #23A5AA #AA23A5
tetradic
#A5AA23 #23AA6B #2823AA #AA2362
square
#A5AA23 #23AA6B #2823AA #AA2362
split-complementary
#A5AA23 #2362AA #6B23AA
monochromatic
#42440E #747719 #A5AA23 #CFD535 #DBE068

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5AA23#FFFFFF#000000##000000
##A5AA231.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)
#B8A530
Tritanopia (blue-blind)
#B19F91
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a5aa23;
/* rgb */ color: rgb(165, 170, 35);
/* oklch */ color: oklch(71.1% 0.147 111.8);
Tailwind
colors: {
  custom: {
    50: '#c3c36b',
    500: '#a5aa23',
    950: '#000000',
  },
}
SCSS
$custom: #a5aa23;
$custom-light: #c3c36b;
$custom-dark: #000000;
JSON
{
  "hex": "#a5aa23",
  "rgb": {
    "r": 165,
    "g": 170,
    "b": 35
  },
  "hsl": {
    "h": 62.222,
    "s": 65.854,
    "l": 40.196
  },
  "oklch": {
    "l": 0.71112,
    "c": 0.14722,
    "h": 111.8
  },
  "luminance": 0.3687
}

Semantic roles & 50–950 ramp

primary
#A5AA23
secondary
#6763C6
accent
#3FE945
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A5AA23

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

Preview Lab → · Contrast checker → · Palette generator →

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