#A7C338#A7C338

#A7C338 is a light, vivid yellow-green. Relative luminance 0.475; OKLCH L 77.1% C 0.163 H 120.4°. Best body text is #000000 at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#A7C338
RGBrgb(167, 195, 56)
HSLhsl(72, 55%, 49%)
HSVhsv(72, 71%, 76%)
CMYKcmyk(14.4%, 0%, 71.3%, 23.5%)
CIE-LABlab(74.53, -27.89, 62.91)
CIE-LCHlch(74.53, 68.81, 113.91°)
OKLaboklab(77.09% -0.0822 0.1403)
OKLCHoklch(77.09% 0.163 120.4)
XYZxyz(36.1659, 47.5313, 11.0098)
Luminance0.4753 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7C338 #5438C3
analogous
#C39938 #A7C338 #62C338
triadic
#A7C338 #38A7C3 #C338A7
tetradic
#A7C338 #38C399 #5438C3 #C33862
square
#A7C338 #38C399 #5438C3 #C33862
split-complementary
#A7C338 #3862C3 #9938C3
monochromatic
#56641D #7E932A #A7C338 #BDD365 #D1E195

Accessibility & contrast

On white

2.00
#A7C338 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.51
#A7C338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7C338
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7C338#FFFFFF#000000##000000
##A7C3381.002.0010.5110.51
#FFFFFF2.001.0021.0021.00
#00000010.5121.001.001.00
##00000010.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB81F
Deuteranopia (green-blind)
#CCB844
Tritanopia (blue-blind)
#B0B9A8
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #a7c338;
/* rgb */ color: rgb(167, 195, 56);
/* oklch */ color: oklch(77.1% 0.163 120.4);
Tailwind
colors: {
  custom: {
    50: '#c5d578',
    500: '#a7c338',
    950: '#000000',
  },
}
SCSS
$custom: #a7c338;
$custom-light: #c5d578;
$custom-dark: #000000;
JSON
{
  "hex": "#a7c338",
  "rgb": {
    "r": 167,
    "g": 195,
    "b": 56
  },
  "hsl": {
    "h": 72.086,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.77089,
    "c": 0.16265,
    "h": 120.4
  },
  "luminance": 0.47531
}

Semantic roles & 50–950 ramp

primary
#A7C338
secondary
#988BCC
accent
#49DF67
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#131409
muted
#82837B

Preview Lab

Preview with #A7C338

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

Preview Lab → · Contrast checker → · Palette generator →

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