#A8B832#A8B832

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

Color values

HEX#A8B832
RGBrgb(168, 184, 50)
HSLhsl(67, 57%, 46%)
HSVhsv(67, 73%, 72%)
CMYKcmyk(8.7%, 0%, 72.8%, 27.8%)
CIE-LABlab(71.44, -22.45, 62.06)
CIE-LCHlch(71.44, 65.99, 109.89°)
OKLaboklab(74.61% -0.0677 0.1375)
OKLCHoklch(74.61% 0.153 116.2)
XYZxyz(33.8655, 42.8366, 9.5013)
Luminance0.4284 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B832 #4232B8
analogous
#B88532 #A8B832 #65B832
triadic
#A8B832 #32A8B8 #B832A8
tetradic
#A8B832 #32B885 #4232B8 #B83265
square
#A8B832 #32B885 #4232B8 #B83265
split-complementary
#A8B832 #3265B8 #8532B8
monochromatic
#505818 #7C8825 #A8B832 #C2D156 #D4DE86

Accessibility & contrast

On white

2.19
#A8B832 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.57
#A8B832 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8B832
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8B832#FFFFFF#000000##000000
##A8B8321.002.199.579.57
#FFFFFF2.191.0021.0021.00
#0000009.5721.001.001.00
##0000009.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a8b832;
/* rgb */ color: rgb(168, 184, 50);
/* oklch */ color: oklch(74.6% 0.153 116.2);
Tailwind
colors: {
  custom: {
    50: '#c5cd73',
    500: '#a8b832',
    950: '#000000',
  },
}
SCSS
$custom: #a8b832;
$custom-light: #c5cd73;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b832",
  "rgb": {
    "r": 168,
    "g": 184,
    "b": 50
  },
  "hsl": {
    "h": 67.164,
    "s": 57.265,
    "l": 45.882
  },
  "oklch": {
    "l": 0.74614,
    "c": 0.1533,
    "h": 116.2
  },
  "luminance": 0.42836
}

Semantic roles & 50–950 ramp

primary
#A8B832
secondary
#877EC8
accent
#47E15A
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A8B832

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

Preview Lab → · Contrast checker → · Palette generator →

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