#7FA326#7FA326

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

Color values

HEX#7FA326
RGBrgb(127, 163, 38)
HSLhsl(77, 62%, 39%)
HSVhsv(77, 77%, 64%)
CMYKcmyk(22.1%, 0%, 76.7%, 36.1%)
CIE-LABlab(62.38, -29.91, 56.50)
CIE-LCHlch(62.38, 63.93, 117.90°)
OKLaboklab(66.55% -0.087 0.125)
OKLCHoklch(66.55% 0.152 124.8)
XYZxyz(22.1996, 30.8461, 6.6177)
Luminance0.3085 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA326 #4A26A3
analogous
#A38926 #7FA326 #41A326
triadic
#7FA326 #267FA3 #A3267F
tetradic
#7FA326 #26A389 #4A26A3 #A32641
square
#7FA326 #26A389 #4A26A3 #A32641
split-complementary
#7FA326 #2641A3 #8926A3
monochromatic
#32400F #58711A #7FA326 #A4D036 #BADC68

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FA326#FFFFFF#000000##000000
##7FA3261.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)
#AC9806
Deuteranopia (green-blind)
#A79632
Tritanopia (blue-blind)
#859B8B
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7fa326;
/* rgb */ color: rgb(127, 163, 38);
/* oklch */ color: oklch(66.6% 0.152 124.8);
Tailwind
colors: {
  custom: {
    50: '#a8be6a',
    500: '#7fa326',
    950: '#000000',
  },
}
SCSS
$custom: #7fa326;
$custom-light: #a8be6a;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa326",
  "rgb": {
    "r": 127,
    "g": 163,
    "b": 38
  },
  "hsl": {
    "h": 77.28,
    "s": 62.189,
    "l": 39.412
  },
  "oklch": {
    "l": 0.66552,
    "c": 0.15226,
    "h": 124.8
  },
  "luminance": 0.30846
}

Semantic roles & 50–950 ramp

primary
#7FA326
secondary
#7E63C2
accent
#43E571
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7FA326

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

Preview Lab → · Contrast checker → · Palette generator →

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