#7CAF2C#7CAF2C

#7CAF2C is a light, vivid yellow-green. Relative luminance 0.351; OKLCH L 69.3% C 0.165 H 128.9°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#7CAF2C
RGBrgb(124, 175, 44)
HSLhsl(83, 60%, 43%)
HSVhsv(83, 75%, 69%)
CMYKcmyk(29.1%, 0%, 74.9%, 31.4%)
CIE-LABlab(65.85, -36.33, 57.72)
CIE-LCHlch(65.85, 68.21, 122.19°)
OKLaboklab(69.33% -0.1038 0.1286)
OKLCHoklch(69.33% 0.165 128.9)
XYZxyz(24.0967, 35.1262, 7.8929)
Luminance0.3513 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CAF2C #5F2CAF
analogous
#AFA02C #7CAF2C #3AAF2C
triadic
#7CAF2C #2C7CAF #AF2C7C
tetradic
#7CAF2C #2CAFA0 #5F2CAF #AF2C3A
square
#7CAF2C #2CAFA0 #5F2CAF #AF2C3A
split-complementary
#7CAF2C #2C3AAF #A02CAF
monochromatic
#374D13 #597E20 #7CAF2C #9BD147 #B6DD78

Accessibility & contrast

On white

2.62
#7CAF2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#7CAF2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CAF2C
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CAF2C#FFFFFF#000000##000000
##7CAF2C1.002.628.038.03
#FFFFFF2.621.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A210
Deuteranopia (green-blind)
#B19F39
Tritanopia (blue-blind)
#80A796
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #7caf2c;
/* rgb */ color: rgb(124, 175, 44);
/* oklch */ color: oklch(69.3% 0.165 128.9);
Tailwind
colors: {
  custom: {
    50: '#a6c76f',
    500: '#7caf2c',
    950: '#000000',
  },
}
SCSS
$custom: #7caf2c;
$custom-light: #a6c76f;
$custom-dark: #000000;
JSON
{
  "hex": "#7caf2c",
  "rgb": {
    "r": 124,
    "g": 175,
    "b": 44
  },
  "hsl": {
    "h": 83.359,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.6933,
    "c": 0.16527,
    "h": 128.9
  },
  "luminance": 0.35127
}

Semantic roles & 50–950 ramp

primary
#7CAF2C
secondary
#9272C5
accent
#45E382
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7CAF2C

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

Preview Lab → · Contrast checker → · Palette generator →

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