#A7CC38#A7CC38

#A7CC38 is a light, vivid yellow-green. Relative luminance 0.517; OKLCH L 79.2% C 0.173 H 122.8°. Best body text is #000000 at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#A7CC38
RGBrgb(167, 204, 56)
HSLhsl(75, 59%, 51%)
HSVhsv(75, 73%, 80%)
CMYKcmyk(18.1%, 0%, 72.5%, 20%)
CIE-LABlab(77.09, -32.14, 65.42)
CIE-LCHlch(77.09, 72.88, 116.16°)
OKLaboklab(79.16% -0.0939 0.1456)
OKLCHoklch(79.16% 0.173 122.8)
XYZxyz(38.2435, 51.6866, 11.7024)
Luminance0.5169 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7CC38 #5D38CC
analogous
#CCA738 #A7CC38 #5DCC38
triadic
#A7CC38 #38A7CC #CC38A7
tetradic
#A7CC38 #38CCA7 #5D38CC #CC385D
square
#A7CC38 #38CCA7 #5D38CC #CC385D
split-complementary
#A7CC38 #385DCC #A738CC
monochromatic
#596E1C #819E29 #A7CC38 #BDD869 #D2E599

Accessibility & contrast

On white

1.85
#A7CC38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.34
#A7CC38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7CC38
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7CC38#FFFFFF#000000##000000
##A7CC381.001.8511.3411.34
#FFFFFF1.851.0021.0021.00
#00000011.3421.001.001.00
##00000011.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BF1B
Deuteranopia (green-blind)
#D3BE45
Tritanopia (blue-blind)
#B0C2AF
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #a7cc38;
/* rgb */ color: rgb(167, 204, 56);
/* oklch */ color: oklch(79.2% 0.173 122.8);
Tailwind
colors: {
  custom: {
    50: '#c5db79',
    500: '#a7cc38',
    950: '#000000',
  },
}
SCSS
$custom: #a7cc38;
$custom-light: #c5db79;
$custom-dark: #000000;
JSON
{
  "hex": "#a7cc38",
  "rgb": {
    "r": 167,
    "g": 204,
    "b": 56
  },
  "hsl": {
    "h": 75,
    "s": 59.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.79158,
    "c": 0.17327,
    "h": 122.8
  },
  "luminance": 0.51687
}

Semantic roles & 50–950 ramp

primary
#A7CC38
secondary
#433177
accent
#45E26D
background
#FEFEFB
surface
#FAFBF2
border
#D3D4CC
text
#13150A
muted
#83847D

Preview Lab

Preview with #A7CC38

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

Preview Lab → · Contrast checker → · Palette generator →

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