#7FA827#7FA827

#7FA827 is a light, vivid yellow-green. Relative luminance 0.327; OKLCH L 67.8% C 0.158 H 126.2°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#7FA827
RGBrgb(127, 168, 39)
HSLhsl(79, 62%, 41%)
HSVhsv(79, 77%, 66%)
CMYKcmyk(24.4%, 0%, 76.8%, 34.1%)
CIE-LABlab(63.89, -32.22, 57.60)
CIE-LCHlch(63.89, 65.99, 119.22°)
OKLaboklab(67.78% -0.0932 0.1275)
OKLCHoklch(67.78% 0.158 126.2)
XYZxyz(23.1214, 32.6634, 7.0056)
Luminance0.3266 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA827 #5027A8
analogous
#A89027 #7FA827 #3EA827
triadic
#7FA827 #277FA8 #A8277F
tetradic
#7FA827 #27A890 #5027A8 #A8273E
square
#7FA827 #27A890 #5027A8 #A8273E
split-complementary
#7FA827 #273EA8 #9027A8
monochromatic
#344510 #59761B #7FA827 #A2D13B #B9DD6C

Accessibility & contrast

On white

2.79
#7FA827 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#7FA827 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA827
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA827#FFFFFF#000000##000000
##7FA8271.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C06
Deuteranopia (green-blind)
#AC9A34
Tritanopia (blue-blind)
#85A090
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #7fa827;
/* rgb */ color: rgb(127, 168, 39);
/* oklch */ color: oklch(67.8% 0.158 126.2);
Tailwind
colors: {
  custom: {
    50: '#a8c26c',
    500: '#7fa827',
    950: '#000000',
  },
}
SCSS
$custom: #7fa827;
$custom-light: #a8c26c;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa827",
  "rgb": {
    "r": 127,
    "g": 168,
    "b": 39
  },
  "hsl": {
    "h": 79.07,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.67777,
    "c": 0.15787,
    "h": 126.2
  },
  "luminance": 0.32664
}

Semantic roles & 50–950 ramp

primary
#7FA827
secondary
#8567C3
accent
#42E576
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7FA827

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

Preview Lab → · Contrast checker → · Palette generator →

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