#A8B322#A8B322

#A8B322 is a light, vivid yellow. Relative luminance 0.407; OKLCH L 73.4% C 0.156 H 114.2°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#A8B322
RGBrgb(168, 179, 34)
HSLhsl(65, 68%, 42%)
HSVhsv(65, 81%, 70%)
CMYKcmyk(6.1%, 0%, 81%, 29.8%)
CIE-LABlab(69.95, -20.64, 65.67)
CIE-LCHlch(69.95, 68.83, 107.45°)
OKLaboklab(73.39% -0.064 0.1424)
OKLCHoklch(73.39% 0.156 114.2)
XYZxyz(32.5583, 40.6812, 7.6502)
Luminance0.4068 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B322 #2D22B3
analogous
#B37622 #A8B322 #60B322
triadic
#A8B322 #22A8B3 #B322A8
tetradic
#A8B322 #22B376 #2D22B3 #B32260
square
#A8B322 #22B376 #2D22B3 #B32260
split-complementary
#A8B322 #2260B3 #7622B3
monochromatic
#474C0E #788018 #A8B322 #CDD939 #DAE36C

Accessibility & contrast

On white

2.30
#A8B322 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.14
#A8B322 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8B322
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8B322#FFFFFF#000000##000000
##A8B3221.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AA00
Deuteranopia (green-blind)
#C0AC31
Tritanopia (blue-blind)
#B4A899
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a8b322;
/* rgb */ color: rgb(168, 179, 34);
/* oklch */ color: oklch(73.4% 0.156 114.2);
Tailwind
colors: {
  custom: {
    50: '#c6c96c',
    500: '#a8b322',
    950: '#000000',
  },
}
SCSS
$custom: #a8b322;
$custom-light: #c6c96c;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b322",
  "rgb": {
    "r": 168,
    "g": 179,
    "b": 34
  },
  "hsl": {
    "h": 64.552,
    "s": 68.075,
    "l": 41.765
  },
  "oklch": {
    "l": 0.73391,
    "c": 0.15612,
    "h": 114.2
  },
  "luminance": 0.40681
}

Semantic roles & 50–950 ramp

primary
#A8B322
secondary
#6F68C9
accent
#3DEB4A
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #A8B322

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

Preview Lab → · Contrast checker → · Palette generator →

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