#A7C231#A7C231

#A7C231 is a light, vivid yellow-green. Relative luminance 0.470; OKLCH L 76.8% C 0.166 H 119.9°. Best body text is #000000 at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#A7C231
RGBrgb(167, 194, 49)
HSLhsl(71, 60%, 48%)
HSVhsv(71, 75%, 76%)
CMYKcmyk(13.9%, 0%, 74.7%, 23.9%)
CIE-LABlab(74.20, -27.77, 65.00)
CIE-LCHlch(74.20, 70.68, 113.13°)
OKLaboklab(76.81% -0.0825 0.1436)
OKLCHoklch(76.81% 0.166 119.9)
XYZxyz(35.7832, 47.0210, 10.0960)
Luminance0.4702 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7C231 #4C31C2
analogous
#C29431 #A7C231 #5FC231
triadic
#A7C231 #31A7C2 #C231A7
tetradic
#A7C231 #31C294 #4C31C2 #C2315F
square
#A7C231 #31C294 #4C31C2 #C2315F
split-complementary
#A7C231 #315FC2 #9431C2
monochromatic
#536018 #7D9125 #A7C231 #BFD65B #D2E28C

Accessibility & contrast

On white

2.02
#A7C231 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.40
#A7C231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7C231
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7C231#FFFFFF#000000##000000
##A7C2311.002.0210.4010.40
#FFFFFF2.021.0021.0021.00
#00000010.4021.001.001.00
##00000010.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB70F
Deuteranopia (green-blind)
#CBB73E
Tritanopia (blue-blind)
#B1B7A7
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #a7c231;
/* rgb */ color: rgb(167, 194, 49);
/* oklch */ color: oklch(76.8% 0.166 119.9);
Tailwind
colors: {
  custom: {
    50: '#c5d474',
    500: '#a7c231',
    950: '#000000',
  },
}
SCSS
$custom: #a7c231;
$custom-light: #c5d474;
$custom-dark: #000000;
JSON
{
  "hex": "#a7c231",
  "rgb": {
    "r": 167,
    "g": 194,
    "b": 49
  },
  "hsl": {
    "h": 71.172,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.76814,
    "c": 0.16559,
    "h": 119.9
  },
  "luminance": 0.47021
}

Semantic roles & 50–950 ramp

primary
#A7C231
secondary
#9083CC
accent
#45E362
background
#FCFDF7
surface
#F8FAED
border
#D1D3C8
text
#131409
muted
#82837B

Preview Lab

Preview with #A7C231

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

Preview Lab → · Contrast checker → · Palette generator →

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