#7BB42D#7BB42D

#7BB42D is a light, vivid yellow-green. Relative luminance 0.370; OKLCH L 70.5% C 0.171 H 130.2°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#7BB42D
RGBrgb(123, 180, 45)
HSLhsl(85, 60%, 44%)
HSVhsv(85, 75%, 71%)
CMYKcmyk(31.7%, 0%, 75%, 29.4%)
CIE-LABlab(67.31, -38.89, 58.78)
CIE-LCHlch(67.31, 70.48, 123.49°)
OKLaboklab(70.51% -0.1106 0.131)
OKLCHoklch(70.51% 0.171 130.2)
XYZxyz(24.9632, 37.0421, 8.3167)
Luminance0.3704 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BB42D #662DB4
analogous
#B4AA2D #7BB42D #38B42D
triadic
#7BB42D #2D7BB4 #B42D7B
tetradic
#7BB42D #2DB4AA #662DB4 #B42D38
square
#7BB42D #2DB4AA #662DB4 #B42D38
split-complementary
#7BB42D #2D38B4 #AA2DB4
monochromatic
#385215 #5A8321 #7BB42D #9AD24C #B5DE7D

Accessibility & contrast

On white

2.50
#7BB42D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.41
#7BB42D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BB42D
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BB42D#FFFFFF#000000##000000
##7BB42D1.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA70F
Deuteranopia (green-blind)
#B5A23A
Tritanopia (blue-blind)
#7EAC9A
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #7bb42d;
/* rgb */ color: rgb(123, 180, 45);
/* oklch */ color: oklch(70.5% 0.171 130.2);
Tailwind
colors: {
  custom: {
    50: '#a6cb70',
    500: '#7bb42d',
    950: '#000000',
  },
}
SCSS
$custom: #7bb42d;
$custom-light: #a6cb70;
$custom-dark: #000000;
JSON
{
  "hex": "#7bb42d",
  "rgb": {
    "r": 123,
    "g": 180,
    "b": 45
  },
  "hsl": {
    "h": 85.333,
    "s": 60,
    "l": 44.118
  },
  "oklch": {
    "l": 0.70507,
    "c": 0.17144,
    "h": 130.2
  },
  "luminance": 0.37043
}

Semantic roles & 50–950 ramp

primary
#7BB42D
secondary
#9876C7
accent
#45E388
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7BB42D

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

Preview Lab → · Contrast checker → · Palette generator →

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