#7EA61F#7EA61F

#7EA61F is a light, vivid yellow-green. Relative luminance 0.318; OKLCH L 67.2% C 0.160 H 125.7°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#7EA61F
RGBrgb(126, 166, 31)
HSLhsl(78, 69%, 39%)
HSVhsv(78, 81%, 65%)
CMYKcmyk(24.1%, 0%, 81.3%, 34.9%)
CIE-LABlab(63.18, -32.06, 59.37)
CIE-LCHlch(63.18, 67.47, 118.37°)
OKLaboklab(67.18% -0.0932 0.1299)
OKLCHoklch(67.18% 0.16 125.7)
XYZxyz(22.4879, 31.8066, 6.2506)
Luminance0.3181 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA61F #471FA6
analogous
#A68A1F #7EA61F #3AA61F
triadic
#7EA61F #1F7EA6 #A61F7E
tetradic
#7EA61F #1FA68A #471FA6 #A61F3A
square
#7EA61F #1FA68A #471FA6 #A61F3A
split-complementary
#7EA61F #1F3AA6 #8A1FA6
monochromatic
#303F0C #577215 #7EA61F #A4D72B #BAE15E

Accessibility & contrast

On white

2.85
#7EA61F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#7EA61F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA61F
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA61F#FFFFFF#000000##000000
##7EA61F1.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9A00
Deuteranopia (green-blind)
#AA982E
Tritanopia (blue-blind)
#849E8E
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #7ea61f;
/* rgb */ color: rgb(126, 166, 31);
/* oklch */ color: oklch(67.2% 0.160 125.7);
Tailwind
colors: {
  custom: {
    50: '#a7c068',
    500: '#7ea61f',
    950: '#000000',
  },
}
SCSS
$custom: #7ea61f;
$custom-light: #a7c068;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea61f",
  "rgb": {
    "r": 126,
    "g": 166,
    "b": 31
  },
  "hsl": {
    "h": 77.778,
    "s": 68.528,
    "l": 38.627
  },
  "oklch": {
    "l": 0.67177,
    "c": 0.15991,
    "h": 125.7
  },
  "luminance": 0.31807
}

Semantic roles & 50–950 ramp

primary
#7EA61F
secondary
#7B5BC5
accent
#3CEB70
background
#FAFBF6
surface
#F4F7EB
border
#CED0C6
text
#101207
muted
#7F817A

Preview Lab

Preview with #7EA61F

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

Preview Lab → · Contrast checker → · Palette generator →

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