#7B9D2B#7B9D2B

#7B9D2B is a light, vivid yellow-green. Relative luminance 0.285; OKLCH L 64.8% C 0.144 H 124.9°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#7B9D2B
RGBrgb(123, 157, 43)
HSLhsl(78, 57%, 39%)
HSVhsv(78, 73%, 62%)
CMYKcmyk(21.7%, 0%, 72.6%, 38.4%)
CIE-LABlab(60.34, -28.40, 52.67)
CIE-LCHlch(60.34, 59.84, 118.34°)
OKLaboklab(64.84% -0.0822 0.1179)
OKLCHoklch(64.84% 0.144 124.9)
XYZxyz(20.6616, 28.4991, 6.6974)
Luminance0.2850 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9D2B #4D2B9D
analogous
#9D862B #7B9D2B #429D2B
triadic
#7B9D2B #2B7B9D #9D2B7B
tetradic
#7B9D2B #2B9D86 #4D2B9D #9D2B42
square
#7B9D2B #2B9D86 #4D2B9D #9D2B42
split-complementary
#7B9D2B #2B429D #862B9D
monochromatic
#303D11 #556D1E #7B9D2B #9FCA3C #B7D76C

Accessibility & contrast

On white

3.13
#7B9D2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#7B9D2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B9D2B
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B9D2B#FFFFFF#000000##000000
##7B9D2B1.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69317
Deuteranopia (green-blind)
#A19135
Tritanopia (blue-blind)
#819587
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7b9d2b;
/* rgb */ color: rgb(123, 157, 43);
/* oklch */ color: oklch(64.8% 0.144 124.9);
Tailwind
colors: {
  custom: {
    50: '#a4ba6c',
    500: '#7b9d2b',
    950: '#000000',
  },
}
SCSS
$custom: #7b9d2b;
$custom-light: #a4ba6c;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9d2b",
  "rgb": {
    "r": 123,
    "g": 157,
    "b": 43
  },
  "hsl": {
    "h": 77.895,
    "s": 57,
    "l": 39.216
  },
  "oklch": {
    "l": 0.64842,
    "c": 0.14367,
    "h": 124.9
  },
  "luminance": 0.28499
}

Semantic roles & 50–950 ramp

primary
#7B9D2B
secondary
#8066BD
accent
#48E075
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7B9D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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