#A8B82A#A8B82A

#A8B82A is a light, vivid yellow. Relative luminance 0.428; OKLCH L 74.6% C 0.158 H 116.1°. Best body text is #000000 at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#A8B82A
RGBrgb(168, 184, 42)
HSLhsl(67, 63%, 44%)
HSVhsv(67, 77%, 72%)
CMYKcmyk(8.7%, 0%, 77.2%, 27.8%)
CIE-LABlab(71.40, -22.81, 64.65)
CIE-LCHlch(71.40, 68.55, 109.44°)
OKLaboklab(74.57% -0.0694 0.1416)
OKLCHoklch(74.57% 0.158 116.1)
XYZxyz(33.7078, 42.7735, 8.6704)
Luminance0.4277 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B82A #3A2AB8
analogous
#B8812A #A8B82A #61B82A
triadic
#A8B82A #2AA8B8 #B82AA8
tetradic
#A8B82A #2AB881 #3A2AB8 #B82A61
square
#A8B82A #2AB881 #3A2AB8 #B82A61
split-complementary
#A8B82A #2A61B8 #812AB8
monochromatic
#4D5413 #7B861F #A8B82A #C6D64A #D6E17B

Accessibility & contrast

On white

2.20
#A8B82A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.55
#A8B82A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8B82A
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8B82A#FFFFFF#000000##000000
##A8B82A1.002.209.559.55
#FFFFFF2.201.0021.0021.00
#0000009.5521.001.001.00
##0000009.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE00
Deuteranopia (green-blind)
#C4B037
Tritanopia (blue-blind)
#B3AD9E
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #a8b82a;
/* rgb */ color: rgb(168, 184, 42);
/* oklch */ color: oklch(74.6% 0.158 116.1);
Tailwind
colors: {
  custom: {
    50: '#c6cd70',
    500: '#a8b82a',
    950: '#000000',
  },
}
SCSS
$custom: #a8b82a;
$custom-light: #c6cd70;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b82a",
  "rgb": {
    "r": 168,
    "g": 184,
    "b": 42
  },
  "hsl": {
    "h": 66.761,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.74566,
    "c": 0.15771,
    "h": 116.1
  },
  "luminance": 0.42773
}

Semantic roles & 50–950 ramp

primary
#A8B82A
secondary
#7E75C9
accent
#42E654
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A8B82A

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

Preview Lab → · Contrast checker → · Palette generator →

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