#7FA238#7FA238

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

Color values

HEX#7FA238
RGBrgb(127, 162, 56)
HSLhsl(80, 49%, 43%)
HSVhsv(80, 65%, 64%)
CMYKcmyk(21.6%, 0%, 65.4%, 36.5%)
CIE-LABlab(62.20, -28.29, 49.44)
CIE-LCHlch(62.20, 56.96, 119.78°)
OKLaboklab(66.45% -0.0809 0.1129)
OKLCHoklch(66.45% 0.139 125.6)
XYZxyz(22.3866, 30.6379, 8.4749)
Luminance0.3064 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA238 #5B38A2
analogous
#A29038 #7FA238 #4AA238
triadic
#7FA238 #387FA2 #A2387F
tetradic
#7FA238 #38A290 #5B38A2 #A2384A
square
#7FA238 #38A290 #5B38A2 #A2384A
split-complementary
#7FA238 #384AA2 #9038A2
monochromatic
#384719 #5B7528 #7FA238 #9FC453 #B8D381

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FA238#FFFFFF#000000##000000
##7FA2381.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)
#AA982A
Deuteranopia (green-blind)
#A69640
Tritanopia (blue-blind)
#849B8C
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7fa238;
/* rgb */ color: rgb(127, 162, 56);
/* oklch */ color: oklch(66.4% 0.139 125.6);
Tailwind
colors: {
  custom: {
    50: '#a7bd74',
    500: '#7fa238',
    950: '#000000',
  },
}
SCSS
$custom: #7fa238;
$custom-light: #a7bd74;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa238",
  "rgb": {
    "r": 127,
    "g": 162,
    "b": 56
  },
  "hsl": {
    "h": 79.811,
    "s": 48.624,
    "l": 42.745
  },
  "oklch": {
    "l": 0.66448,
    "c": 0.13893,
    "h": 125.6
  },
  "luminance": 0.30638
}

Semantic roles & 50–950 ramp

primary
#7FA238
secondary
#8F79BD
accent
#50D87D
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7FA238

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

Preview Lab → · Contrast checker → · Palette generator →

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