#7FA230#7FA230

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

Color values

HEX#7FA230
RGBrgb(127, 162, 48)
HSLhsl(78, 54%, 41%)
HSVhsv(78, 70%, 64%)
CMYKcmyk(21.6%, 0%, 70.4%, 36.5%)
CIE-LABlab(62.14, -28.86, 52.65)
CIE-LCHlch(62.14, 60.03, 118.73°)
OKLaboklab(66.38% -0.0832 0.1185)
OKLCHoklch(66.38% 0.145 125.1)
XYZxyz(22.2064, 30.5658, 7.5256)
Luminance0.3057 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA230 #5330A2
analogous
#A28C30 #7FA230 #46A230
triadic
#7FA230 #307FA2 #A2307F
tetradic
#7FA230 #30A28C #5330A2 #A23046
square
#7FA230 #30A28C #5330A2 #A23046
split-complementary
#7FA230 #3046A2 #8C30A2
monochromatic
#354414 #5A7322 #7FA230 #A1C847 #B9D676

Accessibility & contrast

On white

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

On black

7.11
#7FA230 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA230
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA230#FFFFFF#000000##000000
##7FA2301.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB971E
Deuteranopia (green-blind)
#A6963A
Tritanopia (blue-blind)
#859A8B
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7fa230;
/* rgb */ color: rgb(127, 162, 48);
/* oklch */ color: oklch(66.4% 0.145 125.1);
Tailwind
colors: {
  custom: {
    50: '#a7bd6f',
    500: '#7fa230',
    950: '#000000',
  },
}
SCSS
$custom: #7fa230;
$custom-light: #a7bd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa230",
  "rgb": {
    "r": 127,
    "g": 162,
    "b": 48
  },
  "hsl": {
    "h": 78.421,
    "s": 54.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.66379,
    "c": 0.1448,
    "h": 125.1
  },
  "luminance": 0.30566
}

Semantic roles & 50–950 ramp

primary
#7FA230
secondary
#886FBE
accent
#4ADE77
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7FA230

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

Preview Lab → · Contrast checker → · Palette generator →

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