#7FA229#7FA229

#7FA229 is a light, vivid yellow-green. Relative luminance 0.305; OKLCH L 66.3% C 0.149 H 124.7°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#7FA229
RGBrgb(127, 162, 41)
HSLhsl(77, 60%, 40%)
HSVhsv(77, 75%, 64%)
CMYKcmyk(21.6%, 0%, 74.7%, 36.5%)
CIE-LABlab(62.09, -29.28, 55.20)
CIE-LCHlch(62.09, 62.48, 117.94°)
OKLaboklab(66.33% -0.085 0.1228)
OKLCHoklch(66.33% 0.149 124.7)
XYZxyz(22.0732, 30.5125, 6.8240)
Luminance0.3051 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA229 #4C29A2
analogous
#A28829 #7FA229 #43A229
triadic
#7FA229 #297FA2 #A2297F
tetradic
#7FA229 #29A288 #4C29A2 #A22943
square
#7FA229 #29A288 #4C29A2 #A22943
split-complementary
#7FA229 #2943A2 #8829A2
monochromatic
#324010 #59711D #7FA229 #A3CD3B #BADA6C

Accessibility & contrast

On white

2.96
#7FA229 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#7FA229 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA229
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA229#FFFFFF#000000##000000
##7FA2291.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7fa229;
/* rgb */ color: rgb(127, 162, 41);
/* oklch */ color: oklch(66.3% 0.149 124.7);
Tailwind
colors: {
  custom: {
    50: '#a8bd6c',
    500: '#7fa229',
    950: '#000000',
  },
}
SCSS
$custom: #7fa229;
$custom-light: #a8bd6c;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa229",
  "rgb": {
    "r": 127,
    "g": 162,
    "b": 41
  },
  "hsl": {
    "h": 77.355,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.66328,
    "c": 0.1493,
    "h": 124.7
  },
  "luminance": 0.30513
}

Semantic roles & 50–950 ramp

primary
#7FA229
secondary
#8067C0
accent
#45E373
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7FA229

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

Preview Lab → · Contrast checker → · Palette generator →

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