#7B9E2E#7B9E2E

#7B9E2E is a light, vivid yellow-green. Relative luminance 0.289; OKLCH L 65.1% C 0.143 H 125.3°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#7B9E2E
RGBrgb(123, 158, 46)
HSLhsl(79, 55%, 40%)
HSVhsv(79, 71%, 62%)
CMYKcmyk(22.2%, 0%, 70.9%, 38%)
CIE-LABlab(60.66, -28.69, 51.84)
CIE-LCHlch(60.66, 59.25, 118.96°)
OKLaboklab(65.11% -0.0827 0.1166)
OKLCHoklch(65.11% 0.143 125.3)
XYZxyz(20.8885, 28.8617, 7.0546)
Luminance0.2886 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9E2E #512E9E
analogous
#9E892E #7B9E2E #439E2E
triadic
#7B9E2E #2E7B9E #9E2E7B
tetradic
#7B9E2E #2E9E89 #512E9E #9E2E43
square
#7B9E2E #2E9E89 #512E9E #9E2E43
split-complementary
#7B9E2E #2E439E #892E9E
monochromatic
#313F12 #566F20 #7B9E2E #9EC841 #B6D671

Accessibility & contrast

On white

3.10
#7B9E2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#7B9E2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B9E2E
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B9E2E#FFFFFF#000000##000000
##7B9E2E1.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7941C
Deuteranopia (green-blind)
#A29237
Tritanopia (blue-blind)
#809688
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7b9e2e;
/* rgb */ color: rgb(123, 158, 46);
/* oklch */ color: oklch(65.1% 0.143 125.3);
Tailwind
colors: {
  custom: {
    50: '#a4ba6e',
    500: '#7b9e2e',
    950: '#000000',
  },
}
SCSS
$custom: #7b9e2e;
$custom-light: #a4ba6e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9e2e",
  "rgb": {
    "r": 123,
    "g": 158,
    "b": 46
  },
  "hsl": {
    "h": 78.75,
    "s": 54.902,
    "l": 40
  },
  "oklch": {
    "l": 0.65109,
    "c": 0.14296,
    "h": 125.3
  },
  "luminance": 0.28862
}

Semantic roles & 50–950 ramp

primary
#7B9E2E
secondary
#846BBD
accent
#4ADE78
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7B9E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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