#7CAA2D#7CAA2D

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

Color values

HEX#7CAA2D
RGBrgb(124, 170, 45)
HSLhsl(82, 58%, 42%)
HSVhsv(82, 74%, 67%)
CMYKcmyk(27.1%, 0%, 73.5%, 33.3%)
CIE-LABlab(64.34, -34.00, 55.90)
CIE-LCHlch(64.34, 65.43, 121.31°)
OKLaboklab(68.11% -0.0974 0.1249)
OKLCHoklch(68.11% 0.158 127.9)
XYZxyz(23.1606, 33.2235, 7.6747)
Luminance0.3322 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CAA2D #5B2DAA
analogous
#AA9A2D #7CAA2D #3DAA2D
triadic
#7CAA2D #2D7CAA #AA2D7C
tetradic
#7CAA2D #2DAA9A #5B2DAA #AA2D3D
square
#7CAA2D #2DAA9A #5B2DAA #AA2D3D
split-complementary
#7CAA2D #2D3DAA #9A2DAA
monochromatic
#354913 #597A20 #7CAA2D #9CCE46 #B6DB77

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7CAA2D#FFFFFF#000000##000000
##7CAA2D1.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)
#B39E15
Deuteranopia (green-blind)
#AC9B39
Tritanopia (blue-blind)
#80A292
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7caa2d;
/* rgb */ color: rgb(124, 170, 45);
/* oklch */ color: oklch(68.1% 0.158 127.9);
Tailwind
colors: {
  custom: {
    50: '#a6c36f',
    500: '#7caa2d',
    950: '#000000',
  },
}
SCSS
$custom: #7caa2d;
$custom-light: #a6c36f;
$custom-dark: #000000;
JSON
{
  "hex": "#7caa2d",
  "rgb": {
    "r": 124,
    "g": 170,
    "b": 45
  },
  "hsl": {
    "h": 82.08,
    "s": 58.14,
    "l": 42.157
  },
  "oklch": {
    "l": 0.68109,
    "c": 0.15839,
    "h": 127.9
  },
  "luminance": 0.33224
}

Semantic roles & 50–950 ramp

primary
#7CAA2D
secondary
#8E70C3
accent
#46E17F
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7CAA2D

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

Preview Lab → · Contrast checker → · Palette generator →

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