#7EAF45#7EAF45

#7EAF45 is a light, vivid yellow-green. Relative luminance 0.355; OKLCH L 69.7% C 0.146 H 130.3°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#7EAF45
RGBrgb(126, 175, 69)
HSLhsl(88, 43%, 48%)
HSVhsv(88, 61%, 69%)
CMYKcmyk(28%, 0%, 60.6%, 31.4%)
CIE-LABlab(66.16, -33.72, 48.03)
CIE-LCHlch(66.16, 58.68, 125.08°)
OKLaboklab(69.67% -0.0947 0.1116)
OKLCHoklch(69.67% 0.146 130.3)
XYZxyz(25.0081, 35.5246, 11.1684)
Luminance0.3553 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EAF45 #7645AF
analogous
#AFAB45 #7EAF45 #49AF45
triadic
#7EAF45 #457EAF #AF457E
tetradic
#7EAF45 #45AFAB #7645AF #AF4549
square
#7EAF45 #45AFAB #7645AF #AF4549
split-complementary
#7EAF45 #4549AF #AB45AF
monochromatic
#3F5722 #5E8334 #7EAF45 #9CC56C #BAD698

Accessibility & contrast

On white

2.59
#7EAF45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#7EAF45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EAF45
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EAF45#FFFFFF#000000##000000
##7EAF451.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A339
Deuteranopia (green-blind)
#B0A04D
Tritanopia (blue-blind)
#81A898
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #7eaf45;
/* rgb */ color: rgb(126, 175, 69);
/* oklch */ color: oklch(69.7% 0.146 130.3);
Tailwind
colors: {
  custom: {
    50: '#a6c77d',
    500: '#7eaf45',
    950: '#000000',
  },
}
SCSS
$custom: #7eaf45;
$custom-light: #a6c77d;
$custom-dark: #000000;
JSON
{
  "hex": "#7eaf45",
  "rgb": {
    "r": 126,
    "g": 175,
    "b": 69
  },
  "hsl": {
    "h": 87.736,
    "s": 43.443,
    "l": 47.843
  },
  "oklch": {
    "l": 0.69673,
    "c": 0.14633,
    "h": 130.3
  },
  "luminance": 0.35525
}

Semantic roles & 50–950 ramp

primary
#7EAF45
secondary
#A68DC2
accent
#55D38F
background
#FAFCF7
surface
#F4F8EE
border
#CED1C9
text
#10130A
muted
#7F827C

Preview Lab

Preview with #7EAF45

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

Preview Lab → · Contrast checker → · Palette generator →

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