#7EBA2D#7EBA2D

#7EBA2D is a light, vivid yellow-green. Relative luminance 0.397; OKLCH L 72.2% C 0.177 H 130.4°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#7EBA2D
RGBrgb(126, 186, 45)
HSLhsl(86, 61%, 45%)
HSVhsv(86, 76%, 73%)
CMYKcmyk(32.3%, 0%, 75.8%, 27.1%)
CIE-LABlab(69.29, -40.41, 60.74)
CIE-LCHlch(69.29, 72.95, 123.63°)
OKLaboklab(72.16% -0.1149 0.135)
OKLCHoklch(72.16% 0.177 130.4)
XYZxyz(26.6366, 39.7420, 8.7497)
Luminance0.3974 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EBA2D #692DBA
analogous
#BAAF2D #7EBA2D #37BA2D
triadic
#7EBA2D #2D7EBA #BA2D7E
tetradic
#7EBA2D #2DBAAF #692DBA #BA2D37
square
#7EBA2D #2DBAAF #692DBA #BA2D37
split-complementary
#7EBA2D #2D37BA #AF2DBA
monochromatic
#3B5715 #5D8921 #7EBA2D #9CD550 #B8E081

Accessibility & contrast

On white

2.35
#7EBA2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.95
#7EBA2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EBA2D
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EBA2D#FFFFFF#000000##000000
##7EBA2D1.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AC0A
Deuteranopia (green-blind)
#BAA83B
Tritanopia (blue-blind)
#81B29F
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #7eba2d;
/* rgb */ color: rgb(126, 186, 45);
/* oklch */ color: oklch(72.2% 0.177 130.4);
Tailwind
colors: {
  custom: {
    50: '#a8cf71',
    500: '#7eba2d',
    950: '#000000',
  },
}
SCSS
$custom: #7eba2d;
$custom-light: #a8cf71;
$custom-dark: #000000;
JSON
{
  "hex": "#7eba2d",
  "rgb": {
    "r": 126,
    "g": 186,
    "b": 45
  },
  "hsl": {
    "h": 85.532,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.72161,
    "c": 0.17731,
    "h": 130.4
  },
  "luminance": 0.39743
}

Semantic roles & 50–950 ramp

primary
#7EBA2D
secondary
#9B79C9
accent
#44E488
background
#FAFCF7
surface
#F4F9ED
border
#CED2C8
text
#101408
muted
#7F827B

Preview Lab

Preview with #7EBA2D

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

Preview Lab → · Contrast checker → · Palette generator →

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