#7FA334#7FA334

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

Color values

HEX#7FA334
RGBrgb(127, 163, 52)
HSLhsl(79, 52%, 42%)
HSVhsv(79, 68%, 64%)
CMYKcmyk(22.1%, 0%, 68.1%, 36.1%)
CIE-LABlab(62.47, -29.06, 51.39)
CIE-LCHlch(62.47, 59.04, 119.49°)
OKLaboklab(66.66% -0.0834 0.1165)
OKLCHoklch(66.66% 0.143 125.6)
XYZxyz(22.4695, 30.9541, 8.0391)
Luminance0.3095 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA334 #5834A3
analogous
#A38F34 #7FA334 #48A334
triadic
#7FA334 #347FA3 #A3347F
tetradic
#7FA334 #34A38F #5834A3 #A33448
square
#7FA334 #34A38F #5834A3 #A33448
split-complementary
#7FA334 #3448A3 #8F34A3
monochromatic
#374616 #5B7525 #7FA334 #9FC64E #B8D57C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FA334#FFFFFF#000000##000000
##7FA3341.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)
#AC9824
Deuteranopia (green-blind)
#A7973D
Tritanopia (blue-blind)
#849B8D
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7fa334;
/* rgb */ color: rgb(127, 163, 52);
/* oklch */ color: oklch(66.7% 0.143 125.6);
Tailwind
colors: {
  custom: {
    50: '#a7be72',
    500: '#7fa334',
    950: '#000000',
  },
}
SCSS
$custom: #7fa334;
$custom-light: #a7be72;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa334",
  "rgb": {
    "r": 127,
    "g": 163,
    "b": 52
  },
  "hsl": {
    "h": 79.459,
    "s": 51.628,
    "l": 42.157
  },
  "oklch": {
    "l": 0.66655,
    "c": 0.14326,
    "h": 125.6
  },
  "luminance": 0.30954
}

Semantic roles & 50–950 ramp

primary
#7FA334
secondary
#8C75BE
accent
#4DDB7B
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7FA334

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

Preview Lab → · Contrast checker → · Palette generator →

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