#7FA256#7FA256

#7FA256 is a light, moderate yellow-green. Relative luminance 0.310; OKLCH L 66.8% C 0.111 H 129.3°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#7FA256
RGBrgb(127, 162, 86)
HSLhsl(88, 31%, 49%)
HSVhsv(88, 47%, 64%)
CMYKcmyk(21.6%, 0%, 46.9%, 36.5%)
CIE-LABlab(62.53, -25.32, 35.52)
CIE-LCHlch(62.53, 43.62, 125.49°)
OKLaboklab(66.82% -0.0701 0.0857)
OKLCHoklch(66.82% 0.111 129.3)
XYZxyz(23.3522, 31.0242, 13.5602)
Luminance0.3103 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA256 #7956A2
analogous
#A29F56 #7FA256 #59A256
triadic
#7FA256 #567FA2 #A2567F
tetradic
#7FA256 #56A29F #7956A2 #A25659
square
#7FA256 #56A29F #7956A2 #A25659
split-complementary
#7FA256 #5659A2 #9F56A2
monochromatic
#40522C #607A41 #7FA256 #9DB97C #BBCFA4

Accessibility & contrast

On white

2.91
#7FA256 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#7FA256 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA256
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA256#FFFFFF#000000##000000
##7FA2561.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89950
Deuteranopia (green-blind)
#A3965A
Tritanopia (blue-blind)
#829C90
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7fa256;
/* rgb */ color: rgb(127, 162, 86);
/* oklch */ color: oklch(66.8% 0.111 129.3);
Tailwind
colors: {
  custom: {
    50: '#a6bd87',
    500: '#7fa256',
    950: '#000000',
  },
}
SCSS
$custom: #7fa256;
$custom-light: #a6bd87;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa256",
  "rgb": {
    "r": 127,
    "g": 162,
    "b": 86
  },
  "hsl": {
    "h": 87.632,
    "s": 30.645,
    "l": 48.627
  },
  "oklch": {
    "l": 0.66818,
    "c": 0.11075,
    "h": 129.3
  },
  "luminance": 0.31025
}

Semantic roles & 50–950 ramp

primary
#7FA256
secondary
#A898BC
accent
#61C790
background
#FAFBF8
surface
#F4F6EF
border
#CED0CA
text
#0F120B
muted
#7F817C

Preview Lab

Preview with #7FA256

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

Preview Lab → · Contrast checker → · Palette generator →

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