#A8C031#A8C031

#A8C031 is a light, vivid yellow-green. Relative luminance 0.462; OKLCH L 76.4% C 0.163 H 118.9°. Best body text is #000000 at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#A8C031
RGBrgb(168, 192, 49)
HSLhsl(70, 59%, 47%)
HSVhsv(70, 74%, 75%)
CMYKcmyk(12.5%, 0%, 74.5%, 24.7%)
CIE-LABlab(73.70, -26.40, 64.55)
CIE-LCHlch(73.70, 69.74, 112.24°)
OKLaboklab(76.43% -0.0788 0.1426)
OKLCHoklch(76.43% 0.163 118.9)
XYZxyz(35.5532, 46.2461, 9.9586)
Luminance0.4625 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8C031 #4931C0
analogous
#C09131 #A8C031 #61C031
triadic
#A8C031 #31A8C0 #C031A8
tetradic
#A8C031 #31C091 #4931C0 #C03161
square
#A8C031 #31C091 #4931C0 #C03161
split-complementary
#A8C031 #3161C0 #9131C0
monochromatic
#535E18 #7D8F25 #A8C031 #C0D559 #D3E18A

Accessibility & contrast

On white

2.05
#A8C031 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.25
#A8C031 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8C031
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8C031#FFFFFF#000000##000000
##A8C0311.002.0510.2510.25
#FFFFFF2.051.0021.0021.00
#00000010.2521.001.001.00
##00000010.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB511
Deuteranopia (green-blind)
#CAB63E
Tritanopia (blue-blind)
#B2B5A5
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #a8c031;
/* rgb */ color: rgb(168, 192, 49);
/* oklch */ color: oklch(76.4% 0.163 118.9);
Tailwind
colors: {
  custom: {
    50: '#c5d374',
    500: '#a8c031',
    950: '#000000',
  },
}
SCSS
$custom: #a8c031;
$custom-light: #c5d374;
$custom-dark: #000000;
JSON
{
  "hex": "#a8c031",
  "rgb": {
    "r": 168,
    "g": 192,
    "b": 49
  },
  "hsl": {
    "h": 70.07,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.7643,
    "c": 0.16292,
    "h": 118.9
  },
  "luminance": 0.46246
}

Semantic roles & 50–950 ramp

primary
#A8C031
secondary
#8E82CB
accent
#45E360
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131409
muted
#82827B

Preview Lab

Preview with #A8C031

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

Preview Lab → · Contrast checker → · Palette generator →

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