#7CB12D#7CB12D

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

Color values

HEX#7CB12D
RGBrgb(124, 177, 45)
HSLhsl(84, 59%, 44%)
HSVhsv(84, 75%, 69%)
CMYKcmyk(29.9%, 0%, 74.6%, 30.6%)
CIE-LABlab(66.46, -37.18, 57.97)
CIE-LCHlch(66.46, 68.87, 122.67°)
OKLaboklab(69.83% -0.106 0.1293)
OKLCHoklch(69.83% 0.167 129.4)
XYZxyz(24.5079, 35.9181, 8.1238)
Luminance0.3592 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CB12D #622DB1
analogous
#B1A42D #7CB12D #3AB12D
triadic
#7CB12D #2D7CB1 #B12D7C
tetradic
#7CB12D #2DB1A4 #622DB1 #B12D3A
square
#7CB12D #2DB1A4 #622DB1 #B12D3A
split-complementary
#7CB12D #2D3AB1 #A42DB1
monochromatic
#384F14 #5A8021 #7CB12D #9BD14A #B6DD7B

Accessibility & contrast

On white

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

On black

8.18
#7CB12D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CB12D
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CB12D#FFFFFF#000000##000000
##7CB12D1.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7cb12d;
/* rgb */ color: rgb(124, 177, 45);
/* oklch */ color: oklch(69.8% 0.167 129.4);
Tailwind
colors: {
  custom: {
    50: '#a6c870',
    500: '#7cb12d',
    950: '#000000',
  },
}
SCSS
$custom: #7cb12d;
$custom-light: #a6c870;
$custom-dark: #000000;
JSON
{
  "hex": "#7cb12d",
  "rgb": {
    "r": 124,
    "g": 177,
    "b": 45
  },
  "hsl": {
    "h": 84.091,
    "s": 59.459,
    "l": 43.529
  },
  "oklch": {
    "l": 0.69829,
    "c": 0.16719,
    "h": 129.4
  },
  "luminance": 0.35919
}

Semantic roles & 50–950 ramp

primary
#7CB12D
secondary
#9574C6
accent
#45E384
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7CB12D

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

Preview Lab → · Contrast checker → · Palette generator →

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