#7CA71F#7CA71F

#7CA71F is a light, vivid yellow-green. Relative luminance 0.320; OKLCH L 67.3% C 0.162 H 126.6°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#7CA71F
RGBrgb(124, 167, 31)
HSLhsl(79, 69%, 39%)
HSVhsv(79, 81%, 65%)
CMYKcmyk(25.7%, 0%, 81.4%, 34.5%)
CIE-LABlab(63.36, -33.33, 59.48)
CIE-LCHlch(63.36, 68.18, 119.26°)
OKLaboklab(67.29% -0.0966 0.1302)
OKLCHoklch(67.29% 0.162 126.6)
XYZxyz(22.3783, 32.0210, 6.2977)
Luminance0.3202 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CA71F #4A1FA7
analogous
#A78E1F #7CA71F #38A71F
triadic
#7CA71F #1F7CA7 #A71F7C
tetradic
#7CA71F #1FA78E #4A1FA7 #A71F38
square
#7CA71F #1FA78E #4A1FA7 #A71F38
split-complementary
#7CA71F #1F38A7 #8E1FA7
monochromatic
#2F400C #567315 #7CA71F #A1D82B #B8E15F

Accessibility & contrast

On white

2.84
#7CA71F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#7CA71F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CA71F
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CA71F#FFFFFF#000000##000000
##7CA71F1.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B00
Deuteranopia (green-blind)
#AA992E
Tritanopia (blue-blind)
#819F8E
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #7ca71f;
/* rgb */ color: rgb(124, 167, 31);
/* oklch */ color: oklch(67.3% 0.162 126.6);
Tailwind
colors: {
  custom: {
    50: '#a6c168',
    500: '#7ca71f',
    950: '#000000',
  },
}
SCSS
$custom: #7ca71f;
$custom-light: #a6c168;
$custom-dark: #000000;
JSON
{
  "hex": "#7ca71f",
  "rgb": {
    "r": 124,
    "g": 167,
    "b": 31
  },
  "hsl": {
    "h": 78.971,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.67288,
    "c": 0.16212,
    "h": 126.6
  },
  "luminance": 0.32021
}

Semantic roles & 50–950 ramp

primary
#7CA71F
secondary
#7D5CC6
accent
#3CEC74
background
#FAFBF6
surface
#F4F7EB
border
#CED0C6
text
#101207
muted
#7F817A

Preview Lab

Preview with #7CA71F

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

Preview Lab → · Contrast checker → · Palette generator →

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