#7FA33B#7FA33B

#7FA33B is a light, vivid yellow-green. Relative luminance 0.310; OKLCH L 66.7% C 0.138 H 126.2°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#7FA33B
RGBrgb(127, 163, 59)
HSLhsl(81, 47%, 44%)
HSVhsv(81, 64%, 64%)
CMYKcmyk(22.1%, 0%, 63.8%, 36.1%)
CIE-LABlab(62.53, -28.54, 48.49)
CIE-LCHlch(62.53, 56.26, 120.48°)
OKLaboklab(66.72% -0.0813 0.1113)
OKLCHoklch(66.72% 0.138 126.2)
XYZxyz(22.6391, 31.0219, 8.9319)
Luminance0.3102 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA33B #5F3BA3
analogous
#A3933B #7FA33B #4BA33B
triadic
#7FA33B #3B7FA3 #A33B7F
tetradic
#7FA33B #3BA393 #5F3BA3 #A33B4B
square
#7FA33B #3BA393 #5F3BA3 #A33B4B
split-complementary
#7FA33B #3B4BA3 #933BA3
monochromatic
#39491A #5C762B #7FA33B #9EC358 #B8D385

Accessibility & contrast

On white

2.91
#7FA33B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#7FA33B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA33B
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA33B#FFFFFF#000000##000000
##7FA33B1.002.917.207.20
#FFFFFF2.911.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB992E
Deuteranopia (green-blind)
#A69743
Tritanopia (blue-blind)
#849C8D
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7fa33b;
/* rgb */ color: rgb(127, 163, 59);
/* oklch */ color: oklch(66.7% 0.138 126.2);
Tailwind
colors: {
  custom: {
    50: '#a7be76',
    500: '#7fa33b',
    950: '#000000',
  },
}
SCSS
$custom: #7fa33b;
$custom-light: #a7be76;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa33b",
  "rgb": {
    "r": 127,
    "g": 163,
    "b": 59
  },
  "hsl": {
    "h": 80.769,
    "s": 46.847,
    "l": 43.529
  },
  "oklch": {
    "l": 0.66719,
    "c": 0.13786,
    "h": 126.2
  },
  "luminance": 0.31022
}

Semantic roles & 50–950 ramp

primary
#7FA33B
secondary
#937DBD
accent
#51D67F
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#101209
muted
#7F817B

Preview Lab

Preview with #7FA33B

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

Preview Lab → · Contrast checker → · Palette generator →

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