#7FA03B#7FA03B

#7FA03B is a light, vivid yellow-green. Relative luminance 0.300; OKLCH L 66.0% C 0.134 H 125.3°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#7FA03B
RGBrgb(127, 160, 59)
HSLhsl(80, 46%, 43%)
HSVhsv(80, 63%, 63%)
CMYKcmyk(20.6%, 0%, 63.1%, 37.3%)
CIE-LABlab(61.63, -27.08, 47.51)
CIE-LCHlch(61.63, 54.69, 119.68°)
OKLaboklab(65.99% -0.0773 0.1093)
OKLCHoklch(65.99% 0.134 125.3)
XYZxyz(22.1127, 29.9692, 8.7565)
Luminance0.2997 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA03B #5C3BA0
analogous
#A08E3B #7FA03B #4CA03B
triadic
#7FA03B #3B7FA0 #A03B7F
tetradic
#7FA03B #3BA08E #5C3BA0 #A03B4C
square
#7FA03B #3BA08E #5C3BA0 #A03B4C
split-complementary
#7FA03B #3B4CA0 #8E3BA0
monochromatic
#38471A #5C732B #7FA03B #9EC157 #B8D284

Accessibility & contrast

On white

3.00
#7FA03B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#7FA03B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7FA03B
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA03B#FFFFFF#000000##000000
##7FA03B1.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8962F
Deuteranopia (green-blind)
#A49442
Tritanopia (blue-blind)
#84998B
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7fa03b;
/* rgb */ color: rgb(127, 160, 59);
/* oklch */ color: oklch(66.0% 0.134 125.3);
Tailwind
colors: {
  custom: {
    50: '#a7bc75',
    500: '#7fa03b',
    950: '#000000',
  },
}
SCSS
$custom: #7fa03b;
$custom-light: #a7bc75;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa03b",
  "rgb": {
    "r": 127,
    "g": 160,
    "b": 59
  },
  "hsl": {
    "h": 79.604,
    "s": 46.119,
    "l": 42.941
  },
  "oklch": {
    "l": 0.65993,
    "c": 0.13384,
    "h": 125.3
  },
  "luminance": 0.29969
}

Semantic roles & 50–950 ramp

primary
#7FA03B
secondary
#907BBC
accent
#52D67D
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#101209
muted
#7F817B

Preview Lab

Preview with #7FA03B

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

Preview Lab → · Contrast checker → · Palette generator →

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