#7CB12F#7CB12F

#7CB12F is a light, vivid yellow-green. Relative luminance 0.359; OKLCH L 69.8% C 0.166 H 129.5°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#7CB12F
RGBrgb(124, 177, 47)
HSLhsl(84, 58%, 44%)
HSVhsv(84, 73%, 69%)
CMYKcmyk(29.9%, 0%, 73.4%, 30.6%)
CIE-LABlab(66.47, -37.06, 57.28)
CIE-LCHlch(66.47, 68.22, 122.90°)
OKLaboklab(69.84% -0.1055 0.1281)
OKLCHoklch(69.84% 0.166 129.5)
XYZxyz(24.5473, 35.9339, 8.3314)
Luminance0.3594 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CB12F #642FB1
analogous
#B1A52F #7CB12F #3BB12F
triadic
#7CB12F #2F7CB1 #B12F7C
tetradic
#7CB12F #2FB1A5 #642FB1 #B12F3B
square
#7CB12F #2FB1A5 #642FB1 #B12F3B
split-complementary
#7CB12F #2F3BB1 #A52FB1
monochromatic
#385015 #5A8122 #7CB12F #9BD04D #B6DD7E

Accessibility & contrast

On white

2.57
#7CB12F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.19
#7CB12F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CB12F
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CB12F#FFFFFF#000000##000000
##7CB12F1.002.578.198.19
#FFFFFF2.571.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A416
Deuteranopia (green-blind)
#B2A03B
Tritanopia (blue-blind)
#80A998
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #7cb12f;
/* rgb */ color: rgb(124, 177, 47);
/* oklch */ color: oklch(69.8% 0.166 129.5);
Tailwind
colors: {
  custom: {
    50: '#a6c870',
    500: '#7cb12f',
    950: '#000000',
  },
}
SCSS
$custom: #7cb12f;
$custom-light: #a6c870;
$custom-dark: #000000;
JSON
{
  "hex": "#7cb12f",
  "rgb": {
    "r": 124,
    "g": 177,
    "b": 47
  },
  "hsl": {
    "h": 84.462,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.69842,
    "c": 0.16601,
    "h": 129.5
  },
  "luminance": 0.35935
}

Semantic roles & 50–950 ramp

primary
#7CB12F
secondary
#9776C5
accent
#47E186
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7CB12F

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

Preview Lab → · Contrast checker → · Palette generator →

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