#7B9E2B#7B9E2B

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

Color values

HEX#7B9E2B
RGBrgb(123, 158, 43)
HSLhsl(78, 57%, 39%)
HSVhsv(78, 73%, 62%)
CMYKcmyk(22.2%, 0%, 72.8%, 38%)
CIE-LABlab(60.64, -28.88, 52.97)
CIE-LCHlch(60.64, 60.33, 118.60°)
OKLaboklab(65.09% -0.0835 0.1185)
OKLCHoklch(65.09% 0.145 125.2)
XYZxyz(20.8314, 28.8388, 6.7540)
Luminance0.2884 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9E2B #4E2B9E
analogous
#9E882B #7B9E2B #429E2B
triadic
#7B9E2B #2B7B9E #9E2B7B
tetradic
#7B9E2B #2B9E88 #4E2B9E #9E2B42
square
#7B9E2B #2B9E88 #4E2B9E #9E2B42
split-complementary
#7B9E2B #2B429E #882B9E
monochromatic
#303E11 #566E1E #7B9E2B #9FCA3C #B7D76C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B9E2B#FFFFFF#000000##000000
##7B9E2B1.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)
#A79316
Deuteranopia (green-blind)
#A29235
Tritanopia (blue-blind)
#819688
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7b9e2b;
/* rgb */ color: rgb(123, 158, 43);
/* oklch */ color: oklch(65.1% 0.145 125.2);
Tailwind
colors: {
  custom: {
    50: '#a4ba6c',
    500: '#7b9e2b',
    950: '#000000',
  },
}
SCSS
$custom: #7b9e2b;
$custom-light: #a4ba6c;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9e2b",
  "rgb": {
    "r": 123,
    "g": 158,
    "b": 43
  },
  "hsl": {
    "h": 78.261,
    "s": 57.214,
    "l": 39.412
  },
  "oklch": {
    "l": 0.65086,
    "c": 0.14494,
    "h": 125.2
  },
  "luminance": 0.28839
}

Semantic roles & 50–950 ramp

primary
#7B9E2B
secondary
#8167BE
accent
#47E076
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7B9E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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