#7CA11F#7CA11F

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

Color values

HEX#7CA11F
RGBrgb(124, 161, 31)
HSLhsl(77, 68%, 38%)
HSVhsv(77, 81%, 63%)
CMYKcmyk(23%, 0%, 80.7%, 36.9%)
CIE-LABlab(61.54, -30.52, 57.85)
CIE-LCHlch(61.54, 65.40, 117.82°)
OKLaboklab(65.82% -0.089 0.1267)
OKLCHoklch(65.82% 0.155 125.1)
XYZxyz(21.3046, 29.8735, 5.9398)
Luminance0.2987 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CA11F #441FA1
analogous
#A1851F #7CA11F #3BA11F
triadic
#7CA11F #1F7CA1 #A11F7C
tetradic
#7CA11F #1FA185 #441FA1 #A11F3B
square
#7CA11F #1FA185 #441FA1 #A11F3B
split-complementary
#7CA11F #1F3BA1 #851FA1
monochromatic
#2D3A0B #546E15 #7CA11F #A4D429 #BADF5B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7CA11F#FFFFFF#000000##000000
##7CA11F1.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)
#A5942D
Tritanopia (blue-blind)
#829989
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7ca11f;
/* rgb */ color: rgb(124, 161, 31);
/* oklch */ color: oklch(65.8% 0.155 125.1);
Tailwind
colors: {
  custom: {
    50: '#a6bd67',
    500: '#7ca11f',
    950: '#000000',
  },
}
SCSS
$custom: #7ca11f;
$custom-light: #a6bd67;
$custom-dark: #000000;
JSON
{
  "hex": "#7ca11f",
  "rgb": {
    "r": 124,
    "g": 161,
    "b": 31
  },
  "hsl": {
    "h": 77.077,
    "s": 67.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.65816,
    "c": 0.15484,
    "h": 125.1
  },
  "luminance": 0.29874
}

Semantic roles & 50–950 ramp

primary
#7CA11F
secondary
#7758C4
accent
#3DEB6F
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101207
muted
#7F817A

Preview Lab

Preview with #7CA11F

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

Preview Lab → · Contrast checker → · Palette generator →

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