#A8AA23#A8AA23

#A8AA23 is a light, vivid yellow. Relative luminance 0.372; OKLCH L 71.4% C 0.146 H 110.5°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#A8AA23
RGBrgb(168, 170, 35)
HSLhsl(61, 66%, 40%)
HSVhsv(61, 79%, 67%)
CMYKcmyk(1.2%, 0%, 79.4%, 33.3%)
CIE-LABlab(67.42, -16.05, 63.16)
CIE-LCHlch(67.42, 65.17, 104.26°)
OKLaboklab(71.37% -0.0513 0.1372)
OKLCHoklch(71.37% 0.146 110.5)
XYZxyz(30.8277, 37.1965, 7.1455)
Luminance0.3720 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8AA23 #2523AA
analogous
#AA6923 #A8AA23 #64AA23
triadic
#A8AA23 #23A8AA #AA23A8
tetradic
#A8AA23 #23AA69 #2523AA #AA2364
square
#A8AA23 #23AA69 #2523AA #AA2364
split-complementary
#A8AA23 #2364AA #6923AA
monochromatic
#44440E #767719 #A8AA23 #D3D535 #DEE068

Accessibility & contrast

On white

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

On black

8.44
#A8AA23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8AA23
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8AA23#FFFFFF#000000##000000
##A8AA231.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a8aa23;
/* rgb */ color: rgb(168, 170, 35);
/* oklch */ color: oklch(71.4% 0.146 110.5);
Tailwind
colors: {
  custom: {
    50: '#c6c36b',
    500: '#a8aa23',
    950: '#000000',
  },
}
SCSS
$custom: #a8aa23;
$custom-light: #c6c36b;
$custom-dark: #000000;
JSON
{
  "hex": "#a8aa23",
  "rgb": {
    "r": 168,
    "g": 170,
    "b": 35
  },
  "hsl": {
    "h": 60.889,
    "s": 65.854,
    "l": 40.196
  },
  "oklch": {
    "l": 0.71368,
    "c": 0.14646,
    "h": 110.5
  },
  "luminance": 0.37196
}

Semantic roles & 50–950 ramp

primary
#A8AA23
secondary
#6563C6
accent
#3FE942
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A8AA23

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

Preview Lab → · Contrast checker → · Palette generator →

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