#A8B22B#A8B22B

#A8B22B is a light, vivid yellow. Relative luminance 0.403; OKLCH L 73.2% C 0.151 H 113.9°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#A8B22B
RGBrgb(168, 178, 43)
HSLhsl(64, 61%, 43%)
HSVhsv(64, 76%, 70%)
CMYKcmyk(5.6%, 0%, 75.8%, 30.2%)
CIE-LABlab(69.71, -19.79, 62.78)
CIE-LCHlch(69.71, 65.82, 107.50°)
OKLaboklab(73.21% -0.061 0.1378)
OKLCHoklch(73.21% 0.151 113.9)
XYZxyz(32.5059, 40.3407, 8.3592)
Luminance0.4034 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B22B #352BB2
analogous
#B2782B #A8B22B #65B22B
triadic
#A8B22B #2BA8B2 #B22BA8
tetradic
#A8B22B #2BB278 #352BB2 #B22B65
square
#A8B22B #2BB278 #352BB2 #B22B65
split-complementary
#A8B22B #2B65B2 #782BB2
monochromatic
#4B4F13 #79811F #A8B22B #C8D348 #D7DF79

Accessibility & contrast

On white

2.32
#A8B22B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.07
#A8B22B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8B22B
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8B22B#FFFFFF#000000##000000
##A8B22B1.002.329.079.07
#FFFFFF2.321.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA908
Deuteranopia (green-blind)
#BFAC37
Tritanopia (blue-blind)
#B3A799
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a8b22b;
/* rgb */ color: rgb(168, 178, 43);
/* oklch */ color: oklch(73.2% 0.151 113.9);
Tailwind
colors: {
  custom: {
    50: '#c5c86f',
    500: '#a8b22b',
    950: '#000000',
  },
}
SCSS
$custom: #a8b22b;
$custom-light: #c5c86f;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b22b",
  "rgb": {
    "r": 168,
    "g": 178,
    "b": 43
  },
  "hsl": {
    "h": 64.444,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.73211,
    "c": 0.15071,
    "h": 113.9
  },
  "luminance": 0.4034
}

Semantic roles & 50–950 ramp

primary
#A8B22B
secondary
#7872C7
accent
#44E44F
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A8B22B

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

Preview Lab → · Contrast checker → · Palette generator →

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