#A8B82C#A8B82C

#A8B82C 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#A8B82C
RGBrgb(168, 184, 44)
HSLhsl(67, 61%, 45%)
HSVhsv(67, 76%, 72%)
CMYKcmyk(8.7%, 0%, 76.1%, 27.8%)
CIE-LABlab(71.41, -22.73, 64.03)
CIE-LCHlch(71.41, 67.94, 109.54°)
OKLaboklab(74.58% -0.069 0.1407)
OKLCHoklch(74.58% 0.157 116.1)
XYZxyz(33.7445, 42.7882, 8.8637)
Luminance0.4279 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B82C #3C2CB8
analogous
#B8822C #A8B82C #62B82C
triadic
#A8B82C #2CA8B8 #B82CA8
tetradic
#A8B82C #2CB882 #3C2CB8 #B82C62
square
#A8B82C #2CB882 #3C2CB8 #B82C62
split-complementary
#A8B82C #2C62B8 #822CB8
monochromatic
#4E5514 #7B8720 #A8B82C #C5D44D #D5E07E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8B82C#FFFFFF#000000##000000
##A8B82C1.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)
#C5AE06
Deuteranopia (green-blind)
#C4B039
Tritanopia (blue-blind)
#B3AD9E
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #a8b82c;
/* rgb */ color: rgb(168, 184, 44);
/* oklch */ color: oklch(74.6% 0.157 116.1);
Tailwind
colors: {
  custom: {
    50: '#c5cd71',
    500: '#a8b82c',
    950: '#000000',
  },
}
SCSS
$custom: #a8b82c;
$custom-light: #c5cd71;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b82c",
  "rgb": {
    "r": 168,
    "g": 184,
    "b": 44
  },
  "hsl": {
    "h": 66.857,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.74577,
    "c": 0.15668,
    "h": 116.1
  },
  "luminance": 0.42788
}

Semantic roles & 50–950 ramp

primary
#A8B82C
secondary
#8077C9
accent
#43E556
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A8B82C

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

Preview Lab → · Contrast checker → · Palette generator →

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