#A8B52A#A8B52A

#A8B52A is a light, vivid yellow. Relative luminance 0.415; OKLCH L 73.9% C 0.154 H 115.0°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#A8B52A
RGBrgb(168, 181, 42)
HSLhsl(66, 62%, 44%)
HSVhsv(66, 77%, 71%)
CMYKcmyk(7.2%, 0%, 76.8%, 29%)
CIE-LABlab(70.55, -21.33, 63.87)
CIE-LCHlch(70.55, 67.34, 108.47°)
OKLaboklab(73.89% -0.0653 0.14)
OKLCHoklch(73.89% 0.154 115)
XYZxyz(33.0912, 41.5403, 8.4649)
Luminance0.4154 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B52A #372AB5
analogous
#B57C2A #A8B52A #62B52A
triadic
#A8B52A #2AA8B5 #B52AA8
tetradic
#A8B52A #2AB57C #372AB5 #B52A62
square
#A8B52A #2AB57C #372AB5 #B52A62
split-complementary
#A8B52A #2A62B5 #7C2AB5
monochromatic
#4C5213 #7A831E #A8B52A #C7D448 #D6E079

Accessibility & contrast

On white

2.26
#A8B52A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.31
#A8B52A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8B52A
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8B52A#FFFFFF#000000##000000
##A8B52A1.002.269.319.31
#FFFFFF2.261.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC02
Deuteranopia (green-blind)
#C1AE37
Tritanopia (blue-blind)
#B3AA9B
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #a8b52a;
/* rgb */ color: rgb(168, 181, 42);
/* oklch */ color: oklch(73.9% 0.154 115.0);
Tailwind
colors: {
  custom: {
    50: '#c5cb6f',
    500: '#a8b52a',
    950: '#000000',
  },
}
SCSS
$custom: #a8b52a;
$custom-light: #c5cb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b52a",
  "rgb": {
    "r": 168,
    "g": 181,
    "b": 42
  },
  "hsl": {
    "h": 65.612,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.73885,
    "c": 0.15446,
    "h": 115
  },
  "luminance": 0.4154
}

Semantic roles & 50–950 ramp

primary
#A8B52A
secondary
#7B73C8
accent
#42E552
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A8B52A

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

Preview Lab → · Contrast checker → · Palette generator →

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