#A8B22C#A8B22C

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

Color values

HEX#A8B22C
RGBrgb(168, 178, 44)
HSLhsl(64, 60%, 44%)
HSVhsv(64, 75%, 70%)
CMYKcmyk(5.6%, 0%, 75.3%, 30.2%)
CIE-LABlab(69.72, -19.74, 62.45)
CIE-LCHlch(69.72, 65.50, 107.54°)
OKLaboklab(73.22% -0.0608 0.1373)
OKLCHoklch(73.22% 0.15 113.9)
XYZxyz(32.5245, 40.3481, 8.4570)
Luminance0.4035 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B22C #362CB2
analogous
#B2792C #A8B22C #65B22C
triadic
#A8B22C #2CA8B2 #B22CA8
tetradic
#A8B22C #2CB279 #362CB2 #B22C65
square
#A8B22C #2CB279 #362CB2 #B22C65
split-complementary
#A8B22C #2C65B2 #792CB2
monochromatic
#4B5014 #7A8120 #A8B22C #C8D249 #D7DE7A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8B22C#FFFFFF#000000##000000
##A8B22C1.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)
#BFA90C
Deuteranopia (green-blind)
#BFAC38
Tritanopia (blue-blind)
#B3A799
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a8b22c;
/* rgb */ color: rgb(168, 178, 44);
/* oklch */ color: oklch(73.2% 0.150 113.9);
Tailwind
colors: {
  custom: {
    50: '#c5c870',
    500: '#a8b22c',
    950: '#000000',
  },
}
SCSS
$custom: #a8b22c;
$custom-light: #c5c870;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b22c",
  "rgb": {
    "r": 168,
    "g": 178,
    "b": 44
  },
  "hsl": {
    "h": 64.478,
    "s": 60.36,
    "l": 43.529
  },
  "oklch": {
    "l": 0.73217,
    "c": 0.15017,
    "h": 113.9
  },
  "luminance": 0.40347
}

Semantic roles & 50–950 ramp

primary
#A8B22C
secondary
#7A73C6
accent
#44E450
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A8B22C

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

Preview Lab → · Contrast checker → · Palette generator →

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