#7CA61F#7CA61F

#7CA61F is a light, vivid yellow-green. Relative luminance 0.317; OKLCH L 67.0% C 0.161 H 126.3°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#7CA61F
RGBrgb(124, 166, 31)
HSLhsl(79, 69%, 39%)
HSVhsv(79, 81%, 65%)
CMYKcmyk(25.3%, 0%, 81.3%, 34.9%)
CIE-LABlab(63.06, -32.86, 59.21)
CIE-LCHlch(63.06, 67.72, 119.03°)
OKLaboklab(67.04% -0.0953 0.1296)
OKLCHoklch(67.04% 0.161 126.3)
XYZxyz(22.1959, 31.6561, 6.2369)
Luminance0.3166 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CA61F #491FA6
analogous
#A68C1F #7CA61F #38A61F
triadic
#7CA61F #1F7CA6 #A61F7C
tetradic
#7CA61F #1FA68C #491FA6 #A61F38
square
#7CA61F #1FA68C #491FA6 #A61F38
split-complementary
#7CA61F #1F38A6 #8C1FA6
monochromatic
#2F3F0C #557215 #7CA61F #A2D72B #B8E15E

Accessibility & contrast

On white

2.86
#7CA61F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#7CA61F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CA61F
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CA61F#FFFFFF#000000##000000
##7CA61F1.002.867.337.33
#FFFFFF2.861.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9A00
Deuteranopia (green-blind)
#A9982E
Tritanopia (blue-blind)
#819E8E
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #7ca61f;
/* rgb */ color: rgb(124, 166, 31);
/* oklch */ color: oklch(67.0% 0.161 126.3);
Tailwind
colors: {
  custom: {
    50: '#a6c068',
    500: '#7ca61f',
    950: '#000000',
  },
}
SCSS
$custom: #7ca61f;
$custom-light: #a6c068;
$custom-dark: #000000;
JSON
{
  "hex": "#7ca61f",
  "rgb": {
    "r": 124,
    "g": 166,
    "b": 31
  },
  "hsl": {
    "h": 78.667,
    "s": 68.528,
    "l": 38.627
  },
  "oklch": {
    "l": 0.67043,
    "c": 0.1609,
    "h": 126.3
  },
  "luminance": 0.31656
}

Semantic roles & 50–950 ramp

primary
#7CA61F
secondary
#7C5BC5
accent
#3CEB73
background
#FAFBF6
surface
#F4F7EB
border
#CED0C6
text
#101207
muted
#7F817A

Preview Lab

Preview with #7CA61F

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

Preview Lab → · Contrast checker → · Palette generator →

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