#7EAF2C#7EAF2C

#7EAF2C is a light, vivid yellow-green. Relative luminance 0.353; OKLCH L 69.5% C 0.164 H 128.3°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#7EAF2C
RGBrgb(126, 175, 44)
HSLhsl(82, 60%, 43%)
HSVhsv(82, 75%, 69%)
CMYKcmyk(28%, 0%, 74.9%, 31.4%)
CIE-LABlab(65.96, -35.56, 57.88)
CIE-LCHlch(65.96, 67.93, 121.57°)
OKLaboklab(69.46% -0.1018 0.1289)
OKLCHoklch(69.46% 0.164 128.3)
XYZxyz(24.3888, 35.2768, 7.9065)
Luminance0.3528 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EAF2C #5D2CAF
analogous
#AF9E2C #7EAF2C #3CAF2C
triadic
#7EAF2C #2C7EAF #AF2C7E
tetradic
#7EAF2C #2CAF9E #5D2CAF #AF2C3C
square
#7EAF2C #2CAF9E #5D2CAF #AF2C3C
split-complementary
#7EAF2C #2C3CAF #9E2CAF
monochromatic
#384D13 #5B7E20 #7EAF2C #9DD147 #B7DD78

Accessibility & contrast

On white

2.61
#7EAF2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#7EAF2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EAF2C
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EAF2C#FFFFFF#000000##000000
##7EAF2C1.002.618.068.06
#FFFFFF2.611.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A210
Deuteranopia (green-blind)
#B19F39
Tritanopia (blue-blind)
#82A796
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #7eaf2c;
/* rgb */ color: rgb(126, 175, 44);
/* oklch */ color: oklch(69.5% 0.164 128.3);
Tailwind
colors: {
  custom: {
    50: '#a7c76f',
    500: '#7eaf2c',
    950: '#000000',
  },
}
SCSS
$custom: #7eaf2c;
$custom-light: #a7c76f;
$custom-dark: #000000;
JSON
{
  "hex": "#7eaf2c",
  "rgb": {
    "r": 126,
    "g": 175,
    "b": 44
  },
  "hsl": {
    "h": 82.443,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.69456,
    "c": 0.16425,
    "h": 128.3
  },
  "luminance": 0.35277
}

Semantic roles & 50–950 ramp

primary
#7EAF2C
secondary
#9172C5
accent
#45E380
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7EAF2C

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

Preview Lab → · Contrast checker → · Palette generator →

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