#7EAF30#7EAF30

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

Color values

HEX#7EAF30
RGBrgb(126, 175, 48)
HSLhsl(83, 57%, 44%)
HSVhsv(83, 73%, 69%)
CMYKcmyk(28%, 0%, 72.6%, 31.4%)
CIE-LABlab(65.99, -35.33, 56.48)
CIE-LCHlch(65.99, 66.62, 122.02°)
OKLaboklab(69.48% -0.1009 0.1266)
OKLCHoklch(69.48% 0.162 128.6)
XYZxyz(24.4676, 35.3084, 8.3218)
Luminance0.3531 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EAF30 #6130AF
analogous
#AFA030 #7EAF30 #3EAF30
triadic
#7EAF30 #307EAF #AF307E
tetradic
#7EAF30 #30AFA0 #6130AF #AF303E
square
#7EAF30 #30AFA0 #6130AF #AF303E
split-complementary
#7EAF30 #303EAF #A030AF
monochromatic
#394F16 #5B7F23 #7EAF30 #9DCE4E #B7DC7E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7EAF30#FFFFFF#000000##000000
##7EAF301.002.608.068.06
#FFFFFF2.601.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7eaf30;
/* rgb */ color: rgb(126, 175, 48);
/* oklch */ color: oklch(69.5% 0.162 128.6);
Tailwind
colors: {
  custom: {
    50: '#a7c771',
    500: '#7eaf30',
    950: '#000000',
  },
}
SCSS
$custom: #7eaf30;
$custom-light: #a7c771;
$custom-dark: #000000;
JSON
{
  "hex": "#7eaf30",
  "rgb": {
    "r": 126,
    "g": 175,
    "b": 48
  },
  "hsl": {
    "h": 83.15,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.69483,
    "c": 0.16185,
    "h": 128.6
  },
  "luminance": 0.35309
}

Semantic roles & 50–950 ramp

primary
#7EAF30
secondary
#9576C4
accent
#48E082
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7EAF30

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

Preview Lab → · Contrast checker → · Palette generator →

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