#7CA02F#7CA02F

#7CA02F is a light, vivid yellow-green. Relative luminance 0.296; OKLCH L 65.7% C 0.144 H 125.6°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#7CA02F
RGBrgb(124, 160, 47)
HSLhsl(79, 55%, 41%)
HSVhsv(79, 71%, 63%)
CMYKcmyk(22.5%, 0%, 70.6%, 37.3%)
CIE-LABlab(61.34, -29.18, 52.16)
CIE-LCHlch(61.34, 59.77, 119.23°)
OKLaboklab(65.68% -0.084 0.1174)
OKLCHoklch(65.68% 0.144 125.6)
XYZxyz(21.3962, 29.6317, 7.2810)
Luminance0.2963 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CA02F #532FA0
analogous
#A08B2F #7CA02F #43A02F
triadic
#7CA02F #2F7CA0 #A02F7C
tetradic
#7CA02F #2FA08B #532FA0 #A02F43
square
#7CA02F #2FA08B #532FA0 #A02F43
split-complementary
#7CA02F #2F43A0 #8B2FA0
monochromatic
#334113 #577121 #7CA02F #9EC844 #B7D673

Accessibility & contrast

On white

3.03
#7CA02F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#7CA02F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7CA02F
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CA02F#FFFFFF#000000##000000
##7CA02F1.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9951D
Deuteranopia (green-blind)
#A49439
Tritanopia (blue-blind)
#81988A
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7ca02f;
/* rgb */ color: rgb(124, 160, 47);
/* oklch */ color: oklch(65.7% 0.144 125.6);
Tailwind
colors: {
  custom: {
    50: '#a5bc6f',
    500: '#7ca02f',
    950: '#000000',
  },
}
SCSS
$custom: #7ca02f;
$custom-light: #a5bc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#7ca02f",
  "rgb": {
    "r": 124,
    "g": 160,
    "b": 47
  },
  "hsl": {
    "h": 79.115,
    "s": 54.589,
    "l": 40.588
  },
  "oklch": {
    "l": 0.65675,
    "c": 0.14436,
    "h": 125.6
  },
  "luminance": 0.29632
}

Semantic roles & 50–950 ramp

primary
#7CA02F
secondary
#876DBE
accent
#4ADE79
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101208
muted
#7F817B

Preview Lab

Preview with #7CA02F

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

Preview Lab → · Contrast checker → · Palette generator →

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