#7FA239#7FA239

#7FA239 is a light, vivid yellow-green. Relative luminance 0.306; OKLCH L 66.5% C 0.138 H 125.7°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#7FA239
RGBrgb(127, 162, 57)
HSLhsl(80, 48%, 43%)
HSVhsv(80, 65%, 64%)
CMYKcmyk(21.6%, 0%, 64.8%, 36.5%)
CIE-LABlab(62.21, -28.21, 49.02)
CIE-LCHlch(62.21, 56.55, 119.92°)
OKLaboklab(66.46% -0.0806 0.1122)
OKLCHoklch(66.46% 0.138 125.7)
XYZxyz(22.4113, 30.6478, 8.6050)
Luminance0.3065 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA239 #5C39A2
analogous
#A29039 #7FA239 #4AA239
triadic
#7FA239 #397FA2 #A2397F
tetradic
#7FA239 #39A290 #5C39A2 #A2394A
square
#7FA239 #39A290 #5C39A2 #A2394A
split-complementary
#7FA239 #394AA2 #9039A2
monochromatic
#384719 #5C7529 #7FA239 #9EC355 #B8D382

Accessibility & contrast

On white

2.95
#7FA239 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#7FA239 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA239
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA239#FFFFFF#000000##000000
##7FA2391.002.957.137.13
#FFFFFF2.951.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA982C
Deuteranopia (green-blind)
#A69641
Tritanopia (blue-blind)
#849B8C
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7fa239;
/* rgb */ color: rgb(127, 162, 57);
/* oklch */ color: oklch(66.5% 0.138 125.7);
Tailwind
colors: {
  custom: {
    50: '#a7bd74',
    500: '#7fa239',
    950: '#000000',
  },
}
SCSS
$custom: #7fa239;
$custom-light: #a7bd74;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa239",
  "rgb": {
    "r": 127,
    "g": 162,
    "b": 57
  },
  "hsl": {
    "h": 80,
    "s": 47.945,
    "l": 42.941
  },
  "oklch": {
    "l": 0.66458,
    "c": 0.13814,
    "h": 125.7
  },
  "luminance": 0.30648
}

Semantic roles & 50–950 ramp

primary
#7FA239
secondary
#907ABD
accent
#50D87D
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7FA239

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

Preview Lab → · Contrast checker → · Palette generator →

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