#7FA243#7FA243

#7FA243 is a light, vivid yellow-green. Relative luminance 0.308; OKLCH L 66.6% C 0.130 H 126.6°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#7FA243
RGBrgb(127, 162, 67)
HSLhsl(82, 41%, 45%)
HSVhsv(82, 59%, 64%)
CMYKcmyk(21.6%, 0%, 58.6%, 36.5%)
CIE-LABlab(62.30, -27.36, 44.62)
CIE-LCHlch(62.30, 52.34, 121.52°)
OKLaboklab(66.56% -0.0773 0.104)
OKLCHoklch(66.56% 0.13 126.6)
XYZxyz(22.6858, 30.7576, 10.0507)
Luminance0.3076 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA243 #6643A2
analogous
#A29543 #7FA243 #50A243
triadic
#7FA243 #437FA2 #A2437F
tetradic
#7FA243 #43A295 #6643A2 #A24350
square
#7FA243 #43A295 #6643A2 #A24350
split-complementary
#7FA243 #4350A2 #9543A2
monochromatic
#3B4B1F #5D7731 #7FA243 #9DBF64 #B8D18F

Accessibility & contrast

On white

2.94
#7FA243 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#7FA243 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA243
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA243#FFFFFF#000000##000000
##7FA2431.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9839
Deuteranopia (green-blind)
#A59649
Tritanopia (blue-blind)
#839B8D
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7fa243;
/* rgb */ color: rgb(127, 162, 67);
/* oklch */ color: oklch(66.6% 0.130 126.6);
Tailwind
colors: {
  custom: {
    50: '#a6bd7b',
    500: '#7fa243',
    950: '#000000',
  },
}
SCSS
$custom: #7fa243;
$custom-light: #a6bd7b;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa243",
  "rgb": {
    "r": 127,
    "g": 162,
    "b": 67
  },
  "hsl": {
    "h": 82.105,
    "s": 41.485,
    "l": 44.902
  },
  "oklch": {
    "l": 0.66563,
    "c": 0.12962,
    "h": 126.6
  },
  "luminance": 0.30758
}

Semantic roles & 50–950 ramp

primary
#7FA243
secondary
#9985BC
accent
#56D184
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#101209
muted
#7F817B

Preview Lab

Preview with #7FA243

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

Preview Lab → · Contrast checker → · Palette generator →

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