#7EAF3C#7EAF3C

#7EAF3C is a light, vivid yellow-green. Relative luminance 0.354; OKLCH L 69.6% C 0.154 H 129.4°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#7EAF3C
RGBrgb(126, 175, 60)
HSLhsl(86, 49%, 46%)
HSVhsv(86, 66%, 69%)
CMYKcmyk(28%, 0%, 65.7%, 31.4%)
CIE-LABlab(66.08, -34.49, 51.86)
CIE-LCHlch(66.08, 62.28, 123.63°)
OKLaboklab(69.58% -0.0976 0.1186)
OKLCHoklch(69.58% 0.154 129.4)
XYZxyz(24.7496, 35.4212, 9.8071)
Luminance0.3542 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EAF3C #6D3CAF
analogous
#AFA63C #7EAF3C #44AF3C
triadic
#7EAF3C #3C7EAF #AF3C7E
tetradic
#7EAF3C #3CAFA6 #6D3CAF #AF3C44
square
#7EAF3C #3CAFA6 #6D3CAF #AF3C44
split-complementary
#7EAF3C #3C44AF #A63CAF
monochromatic
#3C541D #5D812C #7EAF3C #9CC860 #B8D88D

Accessibility & contrast

On white

2.60
#7EAF3C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#7EAF3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EAF3C
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EAF3C#FFFFFF#000000##000000
##7EAF3C1.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A32D
Deuteranopia (green-blind)
#B09F45
Tritanopia (blue-blind)
#81A897
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #7eaf3c;
/* rgb */ color: rgb(126, 175, 60);
/* oklch */ color: oklch(69.6% 0.154 129.4);
Tailwind
colors: {
  custom: {
    50: '#a7c777',
    500: '#7eaf3c',
    950: '#000000',
  },
}
SCSS
$custom: #7eaf3c;
$custom-light: #a7c777;
$custom-dark: #000000;
JSON
{
  "hex": "#7eaf3c",
  "rgb": {
    "r": 126,
    "g": 175,
    "b": 60
  },
  "hsl": {
    "h": 85.565,
    "s": 48.936,
    "l": 46.078
  },
  "oklch": {
    "l": 0.69582,
    "c": 0.15356,
    "h": 129.4
  },
  "luminance": 0.35422
}

Semantic roles & 50–950 ramp

primary
#7EAF3C
secondary
#9F84C3
accent
#4FD88A
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101309
muted
#7F827B

Preview Lab

Preview with #7EAF3C

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

Preview Lab → · Contrast checker → · Palette generator →

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