#7BA81E#7BA81E

#7BA81E is a light, vivid yellow-green. Relative luminance 0.323; OKLCH L 67.5% C 0.164 H 127.1°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#7BA81E
RGBrgb(123, 168, 30)
HSLhsl(80, 70%, 39%)
HSVhsv(80, 82%, 66%)
CMYKcmyk(26.8%, 0%, 82.1%, 34.1%)
CIE-LABlab(63.60, -34.22, 59.95)
CIE-LCHlch(63.60, 69.03, 119.72°)
OKLaboklab(67.46% -0.099 0.1311)
OKLCHoklch(67.46% 0.164 127.1)
XYZxyz(22.4055, 32.3095, 6.2840)
Luminance0.3231 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA81E #4B1EA8
analogous
#A8901E #7BA81E #36A81E
triadic
#7BA81E #1E7BA8 #A81E7B
tetradic
#7BA81E #1EA890 #4B1EA8 #A81E36
square
#7BA81E #1EA890 #4B1EA8 #A81E36
split-complementary
#7BA81E #1E36A8 #901EA8
monochromatic
#2F400B #557415 #7BA81E #A0D92A #B7E25E

Accessibility & contrast

On white

2.81
#7BA81E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#7BA81E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BA81E
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BA81E#FFFFFF#000000##000000
##7BA81E1.002.817.467.46
#FFFFFF2.811.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#AB992E
Tritanopia (blue-blind)
#80A08F
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7ba81e;
/* rgb */ color: rgb(123, 168, 30);
/* oklch */ color: oklch(67.5% 0.164 127.1);
Tailwind
colors: {
  custom: {
    50: '#a6c268',
    500: '#7ba81e',
    950: '#000000',
  },
}
SCSS
$custom: #7ba81e;
$custom-light: #a6c268;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba81e",
  "rgb": {
    "r": 123,
    "g": 168,
    "b": 30
  },
  "hsl": {
    "h": 79.565,
    "s": 69.697,
    "l": 38.824
  },
  "oklch": {
    "l": 0.67464,
    "c": 0.16426,
    "h": 127.1
  },
  "luminance": 0.3231
}

Semantic roles & 50–950 ramp

primary
#7BA81E
secondary
#7E5BC7
accent
#3BED75
background
#FAFBF6
surface
#F4F7EB
border
#CED0C6
text
#101207
muted
#7F817A

Preview Lab

Preview with #7BA81E

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

Preview Lab → · Contrast checker → · Palette generator →

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