#A7CB40#A7CB40

#A7CB40 is a light, vivid yellow-green. Relative luminance 0.513; OKLCH L 79.0% C 0.167 H 122.9°. Best body text is #000000 at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#A7CB40
RGBrgb(167, 203, 64)
HSLhsl(76, 57%, 52%)
HSVhsv(76, 68%, 80%)
CMYKcmyk(17.7%, 0%, 68.5%, 20.4%)
CIE-LABlab(76.86, -31.21, 62.29)
CIE-LCHlch(76.86, 69.67, 116.61°)
OKLaboklab(78.99% -0.0907 0.1403)
OKLCHoklch(78.99% 0.167 122.9)
XYZxyz(38.2181, 51.2974, 12.7374)
Luminance0.5130 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7CB40 #6440CB
analogous
#CBAA40 #A7CB40 #61CB40
triadic
#A7CB40 #40A7CB #CB40A7
tetradic
#A7CB40 #40CBAA #6440CB #CB4061
square
#A7CB40 #40CBAA #6440CB #CB4061
split-complementary
#A7CB40 #4061CB #AA40CB
monochromatic
#5C721F #83A22C #A7CB40 #BDD870 #D3E5A0

Accessibility & contrast

On white

1.87
#A7CB40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.26
#A7CB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7CB40
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7CB40#FFFFFF#000000##000000
##A7CB401.001.8711.2611.26
#FFFFFF1.871.0021.0021.00
#00000011.2621.001.001.00
##00000011.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF2B
Deuteranopia (green-blind)
#D2BE4B
Tritanopia (blue-blind)
#AFC1AF
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #a7cb40;
/* rgb */ color: rgb(167, 203, 64);
/* oklch */ color: oklch(79.0% 0.167 122.9);
Tailwind
colors: {
  custom: {
    50: '#c4db7d',
    500: '#a7cb40',
    950: '#000000',
  },
}
SCSS
$custom: #a7cb40;
$custom-light: #c4db7d;
$custom-dark: #000000;
JSON
{
  "hex": "#a7cb40",
  "rgb": {
    "r": 167,
    "g": 203,
    "b": 64
  },
  "hsl": {
    "h": 75.54,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.78985,
    "c": 0.16702,
    "h": 122.9
  },
  "luminance": 0.51298
}

Semantic roles & 50–950 ramp

primary
#A7CB40
secondary
#47357B
accent
#47E06F
background
#FDFEFB
surface
#F9FBF2
border
#D2D4CC
text
#13150A
muted
#82847D

Preview Lab

Preview with #A7CB40

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

Preview Lab → · Contrast checker → · Palette generator →

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