#A8C231#A8C231

#A8C231 is a light, vivid yellow-green. Relative luminance 0.471; OKLCH L 76.9% C 0.165 H 119.5°. Best body text is #000000 at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#A8C231
RGBrgb(168, 194, 49)
HSLhsl(71, 60%, 48%)
HSVhsv(71, 75%, 76%)
CMYKcmyk(13.4%, 0%, 74.7%, 23.9%)
CIE-LABlab(74.27, -27.36, 65.09)
CIE-LCHlch(74.27, 70.61, 112.80°)
OKLaboklab(76.89% -0.0814 0.1438)
OKLCHoklch(76.89% 0.165 119.5)
XYZxyz(35.9953, 47.1304, 10.1059)
Luminance0.4713 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8C231 #4B31C2
analogous
#C29431 #A8C231 #5FC231
triadic
#A8C231 #31A8C2 #C231A8
tetradic
#A8C231 #31C294 #4B31C2 #C2315F
square
#A8C231 #31C294 #4B31C2 #C2315F
split-complementary
#A8C231 #315FC2 #9431C2
monochromatic
#536018 #7E9125 #A8C231 #BFD65B #D2E28C

Accessibility & contrast

On white

2.01
#A8C231 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.43
#A8C231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8C231
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8C231#FFFFFF#000000##000000
##A8C2311.002.0110.4310.43
#FFFFFF2.011.0021.0021.00
#00000010.4321.001.001.00
##00000010.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB70F
Deuteranopia (green-blind)
#CCB73E
Tritanopia (blue-blind)
#B2B7A7
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #a8c231;
/* rgb */ color: rgb(168, 194, 49);
/* oklch */ color: oklch(76.9% 0.165 119.5);
Tailwind
colors: {
  custom: {
    50: '#c5d474',
    500: '#a8c231',
    950: '#000000',
  },
}
SCSS
$custom: #a8c231;
$custom-light: #c5d474;
$custom-dark: #000000;
JSON
{
  "hex": "#a8c231",
  "rgb": {
    "r": 168,
    "g": 194,
    "b": 49
  },
  "hsl": {
    "h": 70.759,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.76888,
    "c": 0.1652,
    "h": 119.5
  },
  "luminance": 0.4713
}

Semantic roles & 50–950 ramp

primary
#A8C231
secondary
#9083CC
accent
#45E361
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131409
muted
#82827B

Preview Lab

Preview with #A8C231

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

Preview Lab → · Contrast checker → · Palette generator →

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