#7FA633#7FA633

#7FA633 is a light, vivid yellow-green. Relative luminance 0.320; OKLCH L 67.4% C 0.148 H 126.3°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#7FA633
RGBrgb(127, 166, 51)
HSLhsl(80, 53%, 43%)
HSVhsv(80, 69%, 65%)
CMYKcmyk(23.5%, 0%, 69.3%, 34.9%)
CIE-LABlab(63.36, -30.56, 52.71)
CIE-LCHlch(63.36, 60.93, 120.11°)
OKLaboklab(67.38% -0.0876 0.1191)
OKLCHoklch(67.38% 0.148 126.3)
XYZxyz(22.9862, 32.0231, 8.1014)
Luminance0.3202 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA633 #5A33A6
analogous
#A69333 #7FA633 #45A633
triadic
#7FA633 #337FA6 #A6337F
tetradic
#7FA633 #33A693 #5A33A6 #A63345
square
#7FA633 #33A693 #5A33A6 #A63345
split-complementary
#7FA633 #3345A6 #9333A6
monochromatic
#374816 #5B7725 #7FA633 #9FC94E #B8D77C

Accessibility & contrast

On white

2.84
#7FA633 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#7FA633 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA633
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA633#FFFFFF#000000##000000
##7FA6331.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B22
Deuteranopia (green-blind)
#A9993D
Tritanopia (blue-blind)
#849E8F
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #7fa633;
/* rgb */ color: rgb(127, 166, 51);
/* oklch */ color: oklch(67.4% 0.148 126.3);
Tailwind
colors: {
  custom: {
    50: '#a7c071',
    500: '#7fa633',
    950: '#000000',
  },
}
SCSS
$custom: #7fa633;
$custom-light: #a7c071;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa633",
  "rgb": {
    "r": 127,
    "g": 166,
    "b": 51
  },
  "hsl": {
    "h": 80.348,
    "s": 52.995,
    "l": 42.549
  },
  "oklch": {
    "l": 0.67375,
    "c": 0.14786,
    "h": 126.3
  },
  "luminance": 0.32023
}

Semantic roles & 50–950 ramp

primary
#7FA633
secondary
#8E75C0
accent
#4BDC7D
background
#FAFBF7
surface
#F4F7ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7FA633

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

Preview Lab → · Contrast checker → · Palette generator →

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