#7B9E2F#7B9E2F

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

Color values

HEX#7B9E2F
RGBrgb(123, 158, 47)
HSLhsl(79, 54%, 40%)
HSVhsv(79, 70%, 62%)
CMYKcmyk(22.2%, 0%, 70.3%, 38%)
CIE-LABlab(60.67, -28.63, 51.46)
CIE-LCHlch(60.67, 58.89, 119.09°)
OKLaboklab(65.12% -0.0824 0.1159)
OKLCHoklch(65.12% 0.142 125.4)
XYZxyz(20.9085, 28.8696, 7.1596)
Luminance0.2887 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9E2F #522F9E
analogous
#9E892F #7B9E2F #439E2F
triadic
#7B9E2F #2F7B9E #9E2F7B
tetradic
#7B9E2F #2F9E89 #522F9E #9E2F43
square
#7B9E2F #2F9E89 #522F9E #9E2F43
split-complementary
#7B9E2F #2F439E #892F9E
monochromatic
#324013 #566F21 #7B9E2F #9DC743 #B6D572

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B9E2F#FFFFFF#000000##000000
##7B9E2F1.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)
#A7941E
Deuteranopia (green-blind)
#A29238
Tritanopia (blue-blind)
#809688
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7b9e2f;
/* rgb */ color: rgb(123, 158, 47);
/* oklch */ color: oklch(65.1% 0.142 125.4);
Tailwind
colors: {
  custom: {
    50: '#a4ba6e',
    500: '#7b9e2f',
    950: '#000000',
  },
}
SCSS
$custom: #7b9e2f;
$custom-light: #a4ba6e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9e2f",
  "rgb": {
    "r": 123,
    "g": 158,
    "b": 47
  },
  "hsl": {
    "h": 78.919,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.65117,
    "c": 0.14226,
    "h": 125.4
  },
  "luminance": 0.2887
}

Semantic roles & 50–950 ramp

primary
#7B9E2F
secondary
#856CBD
accent
#4ADE79
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101108
muted
#7F807B

Preview Lab

Preview with #7B9E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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