#7FA33C#7FA33C

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

Color values

HEX#7FA33C
RGBrgb(127, 163, 60)
HSLhsl(81, 46%, 44%)
HSVhsv(81, 63%, 64%)
CMYKcmyk(22.1%, 0%, 63.2%, 36.1%)
CIE-LABlab(62.53, -28.45, 48.06)
CIE-LCHlch(62.53, 55.85, 120.63°)
OKLaboklab(66.73% -0.081 0.1105)
OKLCHoklch(66.73% 0.137 126.2)
XYZxyz(22.6652, 31.0323, 9.0698)
Luminance0.3103 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA33C #603CA3
analogous
#A3933C #7FA33C #4BA33C
triadic
#7FA33C #3C7FA3 #A33C7F
tetradic
#7FA33C #3CA393 #603CA3 #A33C4B
square
#7FA33C #3CA393 #603CA3 #A33C4B
split-complementary
#7FA33C #3C4BA3 #933CA3
monochromatic
#394A1B #5C762C #7FA33C #9EC25A #B8D387

Accessibility & contrast

On white

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

On black

7.21
#7FA33C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA33C
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA33C#FFFFFF#000000##000000
##7FA33C1.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7fa33c;
/* rgb */ color: rgb(127, 163, 60);
/* oklch */ color: oklch(66.7% 0.137 126.2);
Tailwind
colors: {
  custom: {
    50: '#a7be76',
    500: '#7fa33c',
    950: '#000000',
  },
}
SCSS
$custom: #7fa33c;
$custom-light: #a7be76;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa33c",
  "rgb": {
    "r": 127,
    "g": 163,
    "b": 60
  },
  "hsl": {
    "h": 80.971,
    "s": 46.188,
    "l": 43.725
  },
  "oklch": {
    "l": 0.66729,
    "c": 0.13705,
    "h": 126.2
  },
  "luminance": 0.31033
}

Semantic roles & 50–950 ramp

primary
#7FA33C
secondary
#947EBD
accent
#52D680
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#101209
muted
#7F817B

Preview Lab

Preview with #7FA33C

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

Preview Lab → · Contrast checker → · Palette generator →

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