#7FBA2D#7FBA2D

#7FBA2D is a light, vivid yellow-green. Relative luminance 0.398; OKLCH L 72.2% C 0.177 H 130.1°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#7FBA2D
RGBrgb(127, 186, 45)
HSLhsl(85, 61%, 45%)
HSVhsv(85, 76%, 73%)
CMYKcmyk(31.7%, 0%, 75.8%, 27.1%)
CIE-LABlab(69.34, -40.04, 60.81)
CIE-LCHlch(69.34, 72.81, 123.36°)
OKLaboklab(72.22% -0.114 0.1352)
OKLCHoklch(72.22% 0.177 130.1)
XYZxyz(26.7848, 39.8184, 8.7566)
Luminance0.3982 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FBA2D #682DBA
analogous
#BAAE2D #7FBA2D #39BA2D
triadic
#7FBA2D #2D7FBA #BA2D7F
tetradic
#7FBA2D #2DBAAE #682DBA #BA2D39
square
#7FBA2D #2DBAAE #682DBA #BA2D39
split-complementary
#7FBA2D #2D39BA #AE2DBA
monochromatic
#3C5715 #5D8921 #7FBA2D #9DD550 #B8E081

Accessibility & contrast

On white

2.34
#7FBA2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#7FBA2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FBA2D
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FBA2D#FFFFFF#000000##000000
##7FBA2D1.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AC0A
Deuteranopia (green-blind)
#BBA83B
Tritanopia (blue-blind)
#82B29F
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #7fba2d;
/* rgb */ color: rgb(127, 186, 45);
/* oklch */ color: oklch(72.2% 0.177 130.1);
Tailwind
colors: {
  custom: {
    50: '#a9cf71',
    500: '#7fba2d',
    950: '#000000',
  },
}
SCSS
$custom: #7fba2d;
$custom-light: #a9cf71;
$custom-dark: #000000;
JSON
{
  "hex": "#7fba2d",
  "rgb": {
    "r": 127,
    "g": 186,
    "b": 45
  },
  "hsl": {
    "h": 85.106,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.7222,
    "c": 0.1768,
    "h": 130.1
  },
  "luminance": 0.39819
}

Semantic roles & 50–950 ramp

primary
#7FBA2D
secondary
#9B79C9
accent
#44E487
background
#FAFCF7
surface
#F4F9ED
border
#CED2C8
text
#101408
muted
#7F827B

Preview Lab

Preview with #7FBA2D

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

Preview Lab → · Contrast checker → · Palette generator →

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