#7CAA2A#7CAA2A

#7CAA2A is a light, vivid yellow-green. Relative luminance 0.332; OKLCH L 68.1% C 0.160 H 127.8°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#7CAA2A
RGBrgb(124, 170, 42)
HSLhsl(82, 60%, 42%)
HSVhsv(82, 75%, 67%)
CMYKcmyk(27.1%, 0%, 75.3%, 33.3%)
CIE-LABlab(64.32, -34.17, 56.94)
CIE-LCHlch(64.32, 66.41, 120.97°)
OKLaboklab(68.09% -0.0981 0.1266)
OKLCHoklch(68.09% 0.16 127.8)
XYZxyz(23.1049, 33.2012, 7.3812)
Luminance0.3320 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CAA2A #582AAA
analogous
#AA982A #7CAA2A #3CAA2A
triadic
#7CAA2A #2A7CAA #AA2A7C
tetradic
#7CAA2A #2AAA98 #582AAA #AA2A3C
square
#7CAA2A #2AAA98 #582AAA #AA2A3C
split-complementary
#7CAA2A #2A3CAA #982AAA
monochromatic
#344812 #58791E #7CAA2A #9DD041 #B6DC72

Accessibility & contrast

On white

2.75
#7CAA2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#7CAA2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CAA2A
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CAA2A#FFFFFF#000000##000000
##7CAA2A1.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E0E
Deuteranopia (green-blind)
#AC9B36
Tritanopia (blue-blind)
#81A292
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7caa2a;
/* rgb */ color: rgb(124, 170, 42);
/* oklch */ color: oklch(68.1% 0.160 127.8);
Tailwind
colors: {
  custom: {
    50: '#a6c36d',
    500: '#7caa2a',
    950: '#000000',
  },
}
SCSS
$custom: #7caa2a;
$custom-light: #a6c36d;
$custom-dark: #000000;
JSON
{
  "hex": "#7caa2a",
  "rgb": {
    "r": 124,
    "g": 170,
    "b": 42
  },
  "hsl": {
    "h": 81.563,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.68088,
    "c": 0.16017,
    "h": 127.8
  },
  "luminance": 0.33202
}

Semantic roles & 50–950 ramp

primary
#7CAA2A
secondary
#8C6CC3
accent
#44E47E
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101208
muted
#7F817B

Preview Lab

Preview with #7CAA2A

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

Preview Lab → · Contrast checker → · Palette generator →

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