#7FA638#7FA638

#7FA638 is a light, vivid yellow-green. Relative luminance 0.321; OKLCH L 67.4% C 0.144 H 126.7°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#7FA638
RGBrgb(127, 166, 56)
HSLhsl(81, 50%, 44%)
HSVhsv(81, 66%, 65%)
CMYKcmyk(23.5%, 0%, 66.3%, 34.9%)
CIE-LABlab(63.40, -30.20, 50.71)
CIE-LCHlch(63.40, 59.02, 120.78°)
OKLaboklab(67.42% -0.0862 0.1156)
OKLCHoklch(67.42% 0.144 126.7)
XYZxyz(23.1025, 32.0696, 8.7135)
Luminance0.3207 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA638 #5F38A6
analogous
#A69638 #7FA638 #48A638
triadic
#7FA638 #387FA6 #A6387F
tetradic
#7FA638 #38A696 #5F38A6 #A63848
square
#7FA638 #38A696 #5F38A6 #A63848
split-complementary
#7FA638 #3848A6 #9638A6
monochromatic
#394A19 #5C7829 #7FA638 #9EC655 #B8D583

Accessibility & contrast

On white

2.83
#7FA638 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#7FA638 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA638
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA638#FFFFFF#000000##000000
##7FA6381.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9B29
Deuteranopia (green-blind)
#A99941
Tritanopia (blue-blind)
#849E8F
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #7fa638;
/* rgb */ color: rgb(127, 166, 56);
/* oklch */ color: oklch(67.4% 0.144 126.7);
Tailwind
colors: {
  custom: {
    50: '#a7c074',
    500: '#7fa638',
    950: '#000000',
  },
}
SCSS
$custom: #7fa638;
$custom-light: #a7c074;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa638",
  "rgb": {
    "r": 127,
    "g": 166,
    "b": 56
  },
  "hsl": {
    "h": 81.273,
    "s": 49.55,
    "l": 43.529
  },
  "oklch": {
    "l": 0.67419,
    "c": 0.14421,
    "h": 126.7
  },
  "luminance": 0.3207
}

Semantic roles & 50–950 ramp

primary
#7FA638
secondary
#937BBF
accent
#4FD980
background
#FAFBF7
surface
#F4F7ED
border
#CED0C8
text
#101209
muted
#7F817B

Preview Lab

Preview with #7FA638

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

Preview Lab → · Contrast checker → · Palette generator →

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