#A8B82E#A8B82E

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

Color values

HEX#A8B82E
RGBrgb(168, 184, 46)
HSLhsl(67, 60%, 45%)
HSVhsv(67, 75%, 72%)
CMYKcmyk(8.7%, 0%, 75%, 27.8%)
CIE-LABlab(71.42, -22.64, 63.39)
CIE-LCHlch(71.42, 67.31, 109.65°)
OKLaboklab(74.59% -0.0686 0.1397)
OKLCHoklch(74.59% 0.156 116.2)
XYZxyz(33.7830, 42.8036, 9.0665)
Luminance0.4280 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B82E #3E2EB8
analogous
#B8832E #A8B82E #63B82E
triadic
#A8B82E #2EA8B8 #B82EA8
tetradic
#A8B82E #2EB883 #3E2EB8 #B82E63
square
#A8B82E #2EB883 #3E2EB8 #B82E63
split-complementary
#A8B82E #2E63B8 #832EB8
monochromatic
#4F5616 #7B8722 #A8B82E #C4D350 #D5DF81

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8B82E#FFFFFF#000000##000000
##A8B82E1.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)
#C5AE0D
Deuteranopia (green-blind)
#C4B03A
Tritanopia (blue-blind)
#B3AD9E
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #a8b82e;
/* rgb */ color: rgb(168, 184, 46);
/* oklch */ color: oklch(74.6% 0.156 116.2);
Tailwind
colors: {
  custom: {
    50: '#c5cd72',
    500: '#a8b82e',
    950: '#000000',
  },
}
SCSS
$custom: #a8b82e;
$custom-light: #c5cd72;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b82e",
  "rgb": {
    "r": 168,
    "g": 184,
    "b": 46
  },
  "hsl": {
    "h": 66.957,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.74589,
    "c": 0.1556,
    "h": 116.2
  },
  "luminance": 0.42803
}

Semantic roles & 50–950 ramp

primary
#A8B82E
secondary
#8379C8
accent
#45E357
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A8B82E

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

Preview Lab → · Contrast checker → · Palette generator →

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