#7FA83B#7FA83B

#7FA83B is a light, vivid yellow-green. Relative luminance 0.328; OKLCH L 67.9% C 0.145 H 127.5°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#7FA83B
RGBrgb(127, 168, 59)
HSLhsl(83, 48%, 45%)
HSVhsv(83, 65%, 66%)
CMYKcmyk(24.4%, 0%, 64.9%, 34.1%)
CIE-LABlab(64.03, -30.92, 50.11)
CIE-LCHlch(64.03, 58.88, 121.68°)
OKLaboklab(67.93% -0.0879 0.1147)
OKLCHoklch(67.93% 0.145 127.5)
XYZxyz(23.5444, 32.8326, 9.2337)
Luminance0.3283 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA83B #643BA8
analogous
#A89B3B #7FA83B #48A83B
triadic
#7FA83B #3B7FA8 #A83B7F
tetradic
#7FA83B #3BA89B #643BA8 #A83B48
square
#7FA83B #3BA89B #643BA8 #A83B48
split-complementary
#7FA83B #3B48A8 #9B3BA8
monochromatic
#3B4D1B #5D7B2B #7FA83B #9DC55B #B8D588

Accessibility & contrast

On white

2.78
#7FA83B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#7FA83B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA83B
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA83B#FFFFFF#000000##000000
##7FA83B1.002.787.577.57
#FFFFFF2.781.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09D2D
Deuteranopia (green-blind)
#AB9A43
Tritanopia (blue-blind)
#83A191
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #7fa83b;
/* rgb */ color: rgb(127, 168, 59);
/* oklch */ color: oklch(67.9% 0.145 127.5);
Tailwind
colors: {
  custom: {
    50: '#a7c276',
    500: '#7fa83b',
    950: '#000000',
  },
}
SCSS
$custom: #7fa83b;
$custom-light: #a7c276;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa83b",
  "rgb": {
    "r": 127,
    "g": 168,
    "b": 59
  },
  "hsl": {
    "h": 82.569,
    "s": 48.018,
    "l": 44.51
  },
  "oklch": {
    "l": 0.67933,
    "c": 0.14454,
    "h": 127.5
  },
  "luminance": 0.32833
}

Semantic roles & 50–950 ramp

primary
#7FA83B
secondary
#977FC0
accent
#50D883
background
#FAFBF7
surface
#F4F7ED
border
#CED0C8
text
#101209
muted
#7F817B

Preview Lab

Preview with #7FA83B

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

Preview Lab → · Contrast checker → · Palette generator →

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