#7FA327#7FA327

#7FA327 is a light, vivid yellow-green. Relative luminance 0.309; OKLCH L 66.6% C 0.152 H 124.9°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#7FA327
RGBrgb(127, 163, 39)
HSLhsl(77, 61%, 40%)
HSVhsv(77, 76%, 64%)
CMYKcmyk(22.1%, 0%, 76.1%, 36.1%)
CIE-LABlab(62.38, -29.86, 56.17)
CIE-LCHlch(62.38, 63.61, 118.00°)
OKLaboklab(66.56% -0.0867 0.1245)
OKLCHoklch(66.56% 0.152 124.9)
XYZxyz(22.2160, 30.8526, 6.7038)
Luminance0.3085 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA327 #4B27A3
analogous
#A38927 #7FA327 #41A327
triadic
#7FA327 #277FA3 #A3277F
tetradic
#7FA327 #27A389 #4B27A3 #A32741
square
#7FA327 #27A389 #4B27A3 #A32741
split-complementary
#7FA327 #2741A3 #8927A3
monochromatic
#32400F #59721B #7FA327 #A3CF38 #BADB69

Accessibility & contrast

On white

2.93
#7FA327 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#7FA327 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA327
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA327#FFFFFF#000000##000000
##7FA3271.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC980A
Deuteranopia (green-blind)
#A79633
Tritanopia (blue-blind)
#859B8C
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7fa327;
/* rgb */ color: rgb(127, 163, 39);
/* oklch */ color: oklch(66.6% 0.152 124.9);
Tailwind
colors: {
  custom: {
    50: '#a8be6b',
    500: '#7fa327',
    950: '#000000',
  },
}
SCSS
$custom: #7fa327;
$custom-light: #a8be6b;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa327",
  "rgb": {
    "r": 127,
    "g": 163,
    "b": 39
  },
  "hsl": {
    "h": 77.419,
    "s": 61.386,
    "l": 39.608
  },
  "oklch": {
    "l": 0.66558,
    "c": 0.1517,
    "h": 124.9
  },
  "luminance": 0.30853
}

Semantic roles & 50–950 ramp

primary
#7FA327
secondary
#7F64C1
accent
#43E472
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7FA327

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

Preview Lab → · Contrast checker → · Palette generator →

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