#7FA430#7FA430

#7FA430 is a light, vivid yellow-green. Relative luminance 0.313; OKLCH L 66.9% C 0.147 H 125.6°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#7FA430
RGBrgb(127, 164, 48)
HSLhsl(79, 55%, 42%)
HSVhsv(79, 71%, 64%)
CMYKcmyk(22.6%, 0%, 70.7%, 35.7%)
CIE-LABlab(62.74, -29.81, 53.25)
CIE-LCHlch(62.74, 61.03, 119.24°)
OKLaboklab(66.86% -0.0858 0.1198)
OKLCHoklch(66.86% 0.147 125.6)
XYZxyz(22.5615, 31.2760, 7.6440)
Luminance0.3128 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA430 #5530A4
analogous
#A48F30 #7FA430 #45A430
triadic
#7FA430 #307FA4 #A4307F
tetradic
#7FA430 #30A48F #5530A4 #A43045
square
#7FA430 #30A48F #5530A4 #A43045
split-complementary
#7FA430 #3045A4 #8F30A4
monochromatic
#364514 #5A7522 #7FA430 #A0C948 #B9D777

Accessibility & contrast

On white

2.89
#7FA430 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#7FA430 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA430
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA430#FFFFFF#000000##000000
##7FA4301.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD991D
Deuteranopia (green-blind)
#A8973A
Tritanopia (blue-blind)
#859C8D
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #7fa430;
/* rgb */ color: rgb(127, 164, 48);
/* oklch */ color: oklch(66.9% 0.147 125.6);
Tailwind
colors: {
  custom: {
    50: '#a7bf70',
    500: '#7fa430',
    950: '#000000',
  },
}
SCSS
$custom: #7fa430;
$custom-light: #a7bf70;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa430",
  "rgb": {
    "r": 127,
    "g": 164,
    "b": 48
  },
  "hsl": {
    "h": 79.138,
    "s": 54.717,
    "l": 41.569
  },
  "oklch": {
    "l": 0.66865,
    "c": 0.14737,
    "h": 125.6
  },
  "luminance": 0.31276
}

Semantic roles & 50–950 ramp

primary
#7FA430
secondary
#8A70BF
accent
#4ADE79
background
#FAFBF7
surface
#F4F7ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7FA430

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

Preview Lab → · Contrast checker → · Palette generator →

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