#A8BA3A#A8BA3A

#A8BA3A is a light, vivid yellow. Relative luminance 0.437; OKLCH L 75.1% C 0.150 H 117.1°. Best body text is #000000 at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#A8BA3A
RGBrgb(168, 186, 58)
HSLhsl(68, 52%, 48%)
HSVhsv(68, 69%, 73%)
CMYKcmyk(9.7%, 0%, 68.8%, 27.1%)
CIE-LABlab(72.06, -23.00, 59.73)
CIE-LCHlch(72.06, 64.01, 111.06°)
OKLaboklab(75.13% -0.0685 0.134)
OKLCHoklch(75.13% 0.15 117.1)
XYZxyz(34.4718, 43.7485, 10.6305)
Luminance0.4375 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8BA3A #4C3ABA
analogous
#BA8C3A #A8BA3A #68BA3A
triadic
#A8BA3A #3AA8BA #BA3AA8
tetradic
#A8BA3A #3ABA8C #4C3ABA #BA3A68
square
#A8BA3A #3ABA8C #4C3ABA #BA3A68
split-complementary
#A8BA3A #3A68BA #8C3ABA
monochromatic
#545D1D #7E8B2B #A8BA3A #BFCE63 #D2DD92

Accessibility & contrast

On white

2.15
#A8BA3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.75
#A8BA3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8BA3A
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8BA3A#FFFFFF#000000##000000
##A8BA3A1.002.159.759.75
#FFFFFF2.151.0021.0021.00
#0000009.7521.001.001.00
##0000009.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B026
Deuteranopia (green-blind)
#C5B144
Tritanopia (blue-blind)
#B2B0A1
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #a8ba3a;
/* rgb */ color: rgb(168, 186, 58);
/* oklch */ color: oklch(75.1% 0.150 117.1);
Tailwind
colors: {
  custom: {
    50: '#c5ce78',
    500: '#a8ba3a',
    950: '#000000',
  },
}
SCSS
$custom: #a8ba3a;
$custom-light: #c5ce78;
$custom-dark: #000000;
JSON
{
  "hex": "#a8ba3a",
  "rgb": {
    "r": 168,
    "g": 186,
    "b": 58
  },
  "hsl": {
    "h": 68.438,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.75125,
    "c": 0.15048,
    "h": 117.1
  },
  "luminance": 0.43748
}

Semantic roles & 50–950 ramp

primary
#A8BA3A
secondary
#9188C8
accent
#4CDC60
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#131309
muted
#82827B

Preview Lab

Preview with #A8BA3A

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

Preview Lab → · Contrast checker → · Palette generator →

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