#A7C238#A7C238

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

Color values

HEX#A7C238
RGBrgb(167, 194, 56)
HSLhsl(72, 55%, 49%)
HSVhsv(72, 71%, 76%)
CMYKcmyk(13.9%, 0%, 71.1%, 23.9%)
CIE-LABlab(74.24, -27.41, 62.63)
CIE-LCHlch(74.24, 68.36, 113.64°)
OKLaboklab(76.86% -0.0809 0.1398)
OKLCHoklch(76.86% 0.161 120.1)
XYZxyz(35.9426, 47.0847, 10.9354)
Luminance0.4708 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7C238 #5338C2
analogous
#C29838 #A7C238 #62C238
triadic
#A7C238 #38A7C2 #C238A7
tetradic
#A7C238 #38C298 #5338C2 #C23862
square
#A7C238 #38C298 #5338C2 #C23862
split-complementary
#A7C238 #3862C2 #9838C2
monochromatic
#55631D #7E932A #A7C238 #BDD265 #D1E094

Accessibility & contrast

On white

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

On black

10.42
#A7C238 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7C238
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7C238#FFFFFF#000000##000000
##A7C2381.002.0210.4210.42
#FFFFFF2.021.0021.0021.00
#00000010.4221.001.001.00
##00000010.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB720
Deuteranopia (green-blind)
#CBB743
Tritanopia (blue-blind)
#B0B8A7
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #a7c238;
/* rgb */ color: rgb(167, 194, 56);
/* oklch */ color: oklch(76.9% 0.161 120.1);
Tailwind
colors: {
  custom: {
    50: '#c4d478',
    500: '#a7c238',
    950: '#000000',
  },
}
SCSS
$custom: #a7c238;
$custom-light: #c4d478;
$custom-dark: #000000;
JSON
{
  "hex": "#a7c238",
  "rgb": {
    "r": 167,
    "g": 194,
    "b": 56
  },
  "hsl": {
    "h": 71.739,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.76859,
    "c": 0.16148,
    "h": 120.1
  },
  "luminance": 0.47085
}

Semantic roles & 50–950 ramp

primary
#A7C238
secondary
#978ACB
accent
#49DF66
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#131409
muted
#82837B

Preview Lab

Preview with #A7C238

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

Preview Lab → · Contrast checker → · Palette generator →

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