#7FB42D#7FB42D

#7FB42D is a light, vivid yellow-green. Relative luminance 0.373; OKLCH L 70.8% C 0.169 H 129.1°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#7FB42D
RGBrgb(127, 180, 45)
HSLhsl(84, 60%, 44%)
HSVhsv(84, 75%, 71%)
CMYKcmyk(29.4%, 0%, 75%, 29.4%)
CIE-LABlab(67.53, -37.38, 59.07)
CIE-LCHlch(67.53, 69.91, 122.32°)
OKLaboklab(70.75% -0.1068 0.1315)
OKLCHoklch(70.75% 0.169 129.1)
XYZxyz(25.5473, 37.3433, 8.3441)
Luminance0.3734 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB42D #622DB4
analogous
#B4A62D #7FB42D #3BB42D
triadic
#7FB42D #2D7FB4 #B42D7F
tetradic
#7FB42D #2DB4A6 #622DB4 #B42D3B
square
#7FB42D #2DB4A6 #622DB4 #B42D3B
split-complementary
#7FB42D #2D3BB4 #A62DB4
monochromatic
#3A5215 #5C8321 #7FB42D #9ED24C #B8DE7D

Accessibility & contrast

On white

2.48
#7FB42D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#7FB42D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FB42D
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FB42D#FFFFFF#000000##000000
##7FB42D1.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA70F
Deuteranopia (green-blind)
#B5A33A
Tritanopia (blue-blind)
#83AC9A
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #7fb42d;
/* rgb */ color: rgb(127, 180, 45);
/* oklch */ color: oklch(70.8% 0.169 129.1);
Tailwind
colors: {
  custom: {
    50: '#a8ca70',
    500: '#7fb42d',
    950: '#000000',
  },
}
SCSS
$custom: #7fb42d;
$custom-light: #a8ca70;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb42d",
  "rgb": {
    "r": 127,
    "g": 180,
    "b": 45
  },
  "hsl": {
    "h": 83.556,
    "s": 60,
    "l": 44.118
  },
  "oklch": {
    "l": 0.7075,
    "c": 0.16939,
    "h": 129.1
  },
  "luminance": 0.37344
}

Semantic roles & 50–950 ramp

primary
#7FB42D
secondary
#9676C7
accent
#45E383
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7FB42D

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

Preview Lab → · Contrast checker → · Palette generator →

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