#7FB255#7FB255

#7FB255 is a light, vivid yellow-green. Relative luminance 0.370; OKLCH L 70.7% C 0.135 H 132.7°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#7FB255
RGBrgb(127, 178, 85)
HSLhsl(93, 38%, 52%)
HSVhsv(93, 52%, 70%)
CMYKcmyk(28.7%, 0%, 52.2%, 30.2%)
CIE-LABlab(67.28, -33.11, 41.81)
CIE-LCHlch(67.28, 53.33, 128.37°)
OKLaboklab(70.66% -0.0918 0.0996)
OKLCHoklch(70.66% 0.135 132.7)
XYZxyz(26.3120, 37.0079, 14.3495)
Luminance0.3701 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB255 #8855B2
analogous
#AEB255 #7FB255 #55B25A
triadic
#7FB255 #557FB2 #B2557F
tetradic
#7FB255 #55AEB2 #8855B2 #B25A55
square
#7FB255 #55AEB2 #8855B2 #B25A55
split-complementary
#7FB255 #5A55B2 #B255AE
monochromatic
#44612C #618B3F #7FB255 #9FC57F #BED8A9

Accessibility & contrast

On white

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

On black

8.40
#7FB255 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FB255
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FB255#FFFFFF#000000##000000
##7FB2551.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A64D
Deuteranopia (green-blind)
#B1A25B
Tritanopia (blue-blind)
#80AC9D
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #7fb255;
/* rgb */ color: rgb(127, 178, 85);
/* oklch */ color: oklch(70.7% 0.135 132.7);
Tailwind
colors: {
  custom: {
    50: '#a7c987',
    500: '#7fb255',
    950: '#000000',
  },
}
SCSS
$custom: #7fb255;
$custom-light: #a7c987;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb255",
  "rgb": {
    "r": 127,
    "g": 178,
    "b": 85
  },
  "hsl": {
    "h": 92.903,
    "s": 37.652,
    "l": 51.569
  },
  "oklch": {
    "l": 0.70658,
    "c": 0.13546,
    "h": 132.7
  },
  "luminance": 0.37009
}

Semantic roles & 50–950 ramp

primary
#7FB255
secondary
#B39DC6
accent
#5ACE99
background
#FAFCF8
surface
#F4F8F0
border
#CED1CB
text
#10130B
muted
#7F827C

Preview Lab

Preview with #7FB255

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

Preview Lab → · Contrast checker → · Palette generator →

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