#7CA11B#7CA11B

#7CA11B is a light, vivid yellow-green. Relative luminance 0.299; OKLCH L 65.8% C 0.157 H 124.9°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#7CA11B
RGBrgb(124, 161, 27)
HSLhsl(77, 71%, 37%)
HSVhsv(77, 83%, 63%)
CMYKcmyk(23%, 0%, 83.2%, 36.9%)
CIE-LABlab(61.53, -30.68, 58.94)
CIE-LCHlch(61.53, 66.45, 117.50°)
OKLaboklab(65.8% -0.0897 0.1284)
OKLCHoklch(65.8% 0.157 124.9)
XYZxyz(21.2551, 29.8537, 5.6792)
Luminance0.2985 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CA11B #401BA1
analogous
#A1831B #7CA11B #39A11B
triadic
#7CA11B #1B7CA1 #A11B7C
tetradic
#7CA11B #1BA183 #401BA1 #A11B39
square
#7CA11B #1BA183 #401BA1 #A11B39
split-complementary
#7CA11B #1B39A1 #831BA1
monochromatic
#2B3809 #546D12 #7CA11B #A4D524 #BBE254

Accessibility & contrast

On white

3.01
#7CA11B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#7CA11B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7CA11B
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CA11B#FFFFFF#000000##000000
##7CA11B1.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9600
Deuteranopia (green-blind)
#A5942A
Tritanopia (blue-blind)
#829989
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7ca11b;
/* rgb */ color: rgb(124, 161, 27);
/* oklch */ color: oklch(65.8% 0.157 124.9);
Tailwind
colors: {
  custom: {
    50: '#a6bd66',
    500: '#7ca11b',
    950: '#000000',
  },
}
SCSS
$custom: #7ca11b;
$custom-light: #a6bd66;
$custom-dark: #000000;
JSON
{
  "hex": "#7ca11b",
  "rgb": {
    "r": 124,
    "g": 161,
    "b": 27
  },
  "hsl": {
    "h": 76.567,
    "s": 71.277,
    "l": 36.863
  },
  "oklch": {
    "l": 0.65796,
    "c": 0.15662,
    "h": 124.9
  },
  "luminance": 0.29854
}

Semantic roles & 50–950 ramp

primary
#7CA11B
secondary
#7252C5
accent
#3AEE6C
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101206
muted
#7F817A

Preview Lab

Preview with #7CA11B

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

Preview Lab → · Contrast checker → · Palette generator →

#7CA11B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva