#7FB234#7FB234

#7FB234 is a light, vivid yellow-green. Relative luminance 0.366; OKLCH L 70.3% C 0.163 H 129.1°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#7FB234
RGBrgb(127, 178, 52)
HSLhsl(84, 55%, 45%)
HSVhsv(84, 71%, 70%)
CMYKcmyk(28.7%, 0%, 70.8%, 30.2%)
CIE-LABlab(66.98, -36.05, 56.00)
CIE-LCHlch(66.98, 66.61, 122.77°)
OKLaboklab(70.31% -0.1026 0.1262)
OKLCHoklch(70.31% 0.163 129.1)
XYZxyz(25.2925, 36.6001, 8.9801)
Luminance0.3660 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB234 #6734B2
analogous
#B2A634 #7FB234 #40B234
triadic
#7FB234 #347FB2 #B2347F
tetradic
#7FB234 #34B2A6 #6734B2 #B23440
square
#7FB234 #34B2A6 #6734B2 #B23440
split-complementary
#7FB234 #3440B2 #A634B2
monochromatic
#3B5318 #5D8326 #7FB234 #9DCE56 #B8DB85

Accessibility & contrast

On white

2.52
#7FB234 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#7FB234 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FB234
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FB234#FFFFFF#000000##000000
##7FB2341.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA51F
Deuteranopia (green-blind)
#B3A23F
Tritanopia (blue-blind)
#83AA99
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7fb234;
/* rgb */ color: rgb(127, 178, 52);
/* oklch */ color: oklch(70.3% 0.163 129.1);
Tailwind
colors: {
  custom: {
    50: '#a8c973',
    500: '#7fb234',
    950: '#000000',
  },
}
SCSS
$custom: #7fb234;
$custom-light: #a8c973;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb234",
  "rgb": {
    "r": 127,
    "g": 178,
    "b": 52
  },
  "hsl": {
    "h": 84.286,
    "s": 54.783,
    "l": 45.098
  },
  "oklch": {
    "l": 0.7031,
    "c": 0.1626,
    "h": 129.1
  },
  "luminance": 0.36601
}

Semantic roles & 50–950 ramp

primary
#7FB234
secondary
#9A7DC5
accent
#4ADE86
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101309
muted
#7F827B

Preview Lab

Preview with #7FB234

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

Preview Lab → · Contrast checker → · Palette generator →

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