#7FA333#7FA333

#7FA333 is a light, vivid yellow-green. Relative luminance 0.309; OKLCH L 66.6% C 0.144 H 125.6°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#7FA333
RGBrgb(127, 163, 51)
HSLhsl(79, 52%, 42%)
HSVhsv(79, 69%, 64%)
CMYKcmyk(22.1%, 0%, 68.7%, 36.1%)
CIE-LABlab(62.46, -29.13, 51.79)
CIE-LCHlch(62.46, 59.42, 119.36°)
OKLaboklab(66.65% -0.0837 0.1172)
OKLCHoklch(66.65% 0.144 125.6)
XYZxyz(22.4472, 30.9451, 7.9217)
Luminance0.3095 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA333 #5733A3
analogous
#A38F33 #7FA333 #47A333
triadic
#7FA333 #337FA3 #A3337F
tetradic
#7FA333 #33A38F #5733A3 #A33347
square
#7FA333 #33A38F #5733A3 #A33347
split-complementary
#7FA333 #3347A3 #8F33A3
monochromatic
#364616 #5B7424 #7FA333 #A0C74C #B8D67B

Accessibility & contrast

On white

2.92
#7FA333 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#7FA333 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA333
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA333#FFFFFF#000000##000000
##7FA3331.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9822
Deuteranopia (green-blind)
#A7973C
Tritanopia (blue-blind)
#849B8C
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7fa333;
/* rgb */ color: rgb(127, 163, 51);
/* oklch */ color: oklch(66.6% 0.144 125.6);
Tailwind
colors: {
  custom: {
    50: '#a7be71',
    500: '#7fa333',
    950: '#000000',
  },
}
SCSS
$custom: #7fa333;
$custom-light: #a7be71;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa333",
  "rgb": {
    "r": 127,
    "g": 163,
    "b": 51
  },
  "hsl": {
    "h": 79.286,
    "s": 52.336,
    "l": 41.961
  },
  "oklch": {
    "l": 0.66646,
    "c": 0.14399,
    "h": 125.6
  },
  "luminance": 0.30945
}

Semantic roles & 50–950 ramp

primary
#7FA333
secondary
#8C73BE
accent
#4CDC7A
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7FA333

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

Preview Lab → · Contrast checker → · Palette generator →

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