#7FA530#7FA530

#7FA530 is a light, vivid yellow-green. Relative luminance 0.316; OKLCH L 67.1% C 0.149 H 125.9°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#7FA530
RGBrgb(127, 165, 48)
HSLhsl(79, 55%, 42%)
HSVhsv(79, 71%, 65%)
CMYKcmyk(23%, 0%, 70.9%, 35.3%)
CIE-LABlab(63.04, -30.29, 53.56)
CIE-LCHlch(63.04, 61.53, 119.49°)
OKLaboklab(67.11% -0.0871 0.1204)
OKLCHoklch(67.11% 0.149 125.9)
XYZxyz(22.7411, 31.6354, 7.7039)
Luminance0.3164 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA530 #5630A5
analogous
#A59130 #7FA530 #45A530
triadic
#7FA530 #307FA5 #A5307F
tetradic
#7FA530 #30A591 #5630A5 #A53045
square
#7FA530 #30A591 #5630A5 #A53045
split-complementary
#7FA530 #3045A5 #9130A5
monochromatic
#364614 #5B7622 #7FA530 #A0CA48 #B9D878

Accessibility & contrast

On white

2.87
#7FA530 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#7FA530 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA530
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA530#FFFFFF#000000##000000
##7FA5301.002.877.337.33
#FFFFFF2.871.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A1D
Deuteranopia (green-blind)
#A9983A
Tritanopia (blue-blind)
#849D8E
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #7fa530;
/* rgb */ color: rgb(127, 165, 48);
/* oklch */ color: oklch(67.1% 0.149 125.9);
Tailwind
colors: {
  custom: {
    50: '#a7bf70',
    500: '#7fa530',
    950: '#000000',
  },
}
SCSS
$custom: #7fa530;
$custom-light: #a7bf70;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa530",
  "rgb": {
    "r": 127,
    "g": 165,
    "b": 48
  },
  "hsl": {
    "h": 79.487,
    "s": 54.93,
    "l": 41.765
  },
  "oklch": {
    "l": 0.67108,
    "c": 0.14864,
    "h": 125.9
  },
  "luminance": 0.31636
}

Semantic roles & 50–950 ramp

primary
#7FA530
secondary
#8B71C0
accent
#4ADE7A
background
#FAFBF7
surface
#F4F7ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7FA530

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

Preview Lab → · Contrast checker → · Palette generator →

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