#A8B82B#A8B82B

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

Color values

HEX#A8B82B
RGBrgb(168, 184, 43)
HSLhsl(67, 62%, 45%)
HSVhsv(67, 77%, 72%)
CMYKcmyk(8.7%, 0%, 76.6%, 27.8%)
CIE-LABlab(71.41, -22.77, 64.34)
CIE-LCHlch(71.41, 68.25, 109.49°)
OKLaboklab(74.57% -0.0692 0.1411)
OKLCHoklch(74.57% 0.157 116.1)
XYZxyz(33.7259, 42.7807, 8.7659)
Luminance0.4278 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B82B #3B2BB8
analogous
#B8822B #A8B82B #61B82B
triadic
#A8B82B #2BA8B8 #B82BA8
tetradic
#A8B82B #2BB882 #3B2BB8 #B82B61
square
#A8B82B #2BB882 #3B2BB8 #B82B61
split-complementary
#A8B82B #2B61B8 #822BB8
monochromatic
#4D5514 #7B861F #A8B82B #C5D54B #D5E17D

Accessibility & contrast

On white

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

On black

9.56
#A8B82B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8B82B
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8B82B#FFFFFF#000000##000000
##A8B82B1.002.209.569.56
#FFFFFF2.201.0021.0021.00
#0000009.5621.001.001.00
##0000009.5621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a8b82b;
/* rgb */ color: rgb(168, 184, 43);
/* oklch */ color: oklch(74.6% 0.157 116.1);
Tailwind
colors: {
  custom: {
    50: '#c5cd70',
    500: '#a8b82b',
    950: '#000000',
  },
}
SCSS
$custom: #a8b82b;
$custom-light: #c5cd70;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b82b",
  "rgb": {
    "r": 168,
    "g": 184,
    "b": 43
  },
  "hsl": {
    "h": 66.809,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.74571,
    "c": 0.15721,
    "h": 116.1
  },
  "luminance": 0.4278
}

Semantic roles & 50–950 ramp

primary
#A8B82B
secondary
#7F76C9
accent
#43E555
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A8B82B

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

Preview Lab → · Contrast checker → · Palette generator →

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