#7BAA2E#7BAA2E

#7BAA2E is a light, vivid yellow-green. Relative luminance 0.332; OKLCH L 68.1% C 0.158 H 128.3°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#7BAA2E
RGBrgb(123, 170, 46)
HSLhsl(83, 57%, 42%)
HSVhsv(83, 73%, 67%)
CMYKcmyk(27.6%, 0%, 72.9%, 33.3%)
CIE-LABlab(64.29, -34.33, 55.47)
CIE-LCHlch(64.29, 65.23, 121.75°)
OKLaboklab(68.05% -0.0981 0.1242)
OKLCHoklch(68.05% 0.158 128.3)
XYZxyz(23.0362, 33.1571, 7.7705)
Luminance0.3316 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BAA2E #5D2EAA
analogous
#AA9B2E #7BAA2E #3DAA2E
triadic
#7BAA2E #2E7BAA #AA2E7B
tetradic
#7BAA2E #2EAA9B #5D2EAA #AA2E3D
square
#7BAA2E #2EAA9B #5D2EAA #AA2E3D
split-complementary
#7BAA2E #2E3DAA #9B2EAA
monochromatic
#354A14 #587A21 #7BAA2E #9BCD48 #B5DA78

Accessibility & contrast

On white

2.75
#7BAA2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#7BAA2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BAA2E
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BAA2E#FFFFFF#000000##000000
##7BAA2E1.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E17
Deuteranopia (green-blind)
#AC9B39
Tritanopia (blue-blind)
#7FA292
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7baa2e;
/* rgb */ color: rgb(123, 170, 46);
/* oklch */ color: oklch(68.1% 0.158 128.3);
Tailwind
colors: {
  custom: {
    50: '#a5c36f',
    500: '#7baa2e',
    950: '#000000',
  },
}
SCSS
$custom: #7baa2e;
$custom-light: #a5c36f;
$custom-dark: #000000;
JSON
{
  "hex": "#7baa2e",
  "rgb": {
    "r": 123,
    "g": 170,
    "b": 46
  },
  "hsl": {
    "h": 82.742,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.68051,
    "c": 0.15829,
    "h": 128.3
  },
  "luminance": 0.33158
}

Semantic roles & 50–950 ramp

primary
#7BAA2E
secondary
#9071C3
accent
#47E181
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7BAA2E

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

Preview Lab → · Contrast checker → · Palette generator →

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