#7B9D2E#7B9D2E

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

Color values

HEX#7B9D2E
RGBrgb(123, 157, 46)
HSLhsl(78, 55%, 40%)
HSVhsv(78, 71%, 62%)
CMYKcmyk(21.7%, 0%, 70.7%, 38.4%)
CIE-LABlab(60.36, -28.21, 51.54)
CIE-LCHlch(60.36, 58.75, 118.70°)
OKLaboklab(64.86% -0.0814 0.116)
OKLCHoklch(64.86% 0.142 125.1)
XYZxyz(20.7186, 28.5219, 6.9980)
Luminance0.2852 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9D2E #502E9D
analogous
#9D872E #7B9D2E #449D2E
triadic
#7B9D2E #2E7B9D #9D2E7B
tetradic
#7B9D2E #2E9D87 #502E9D #9D2E44
square
#7B9D2E #2E9D87 #502E9D #9D2E44
split-complementary
#7B9D2E #2E449D #872E9D
monochromatic
#313E12 #566E20 #7B9D2E #9EC741 #B6D570

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B9D2E#FFFFFF#000000##000000
##7B9D2E1.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)
#A6931C
Deuteranopia (green-blind)
#A19137
Tritanopia (blue-blind)
#819587
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7b9d2e;
/* rgb */ color: rgb(123, 157, 46);
/* oklch */ color: oklch(64.9% 0.142 125.1);
Tailwind
colors: {
  custom: {
    50: '#a4ba6e',
    500: '#7b9d2e',
    950: '#000000',
  },
}
SCSS
$custom: #7b9d2e;
$custom-light: #a4ba6e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9d2e",
  "rgb": {
    "r": 123,
    "g": 157,
    "b": 46
  },
  "hsl": {
    "h": 78.378,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.64865,
    "c": 0.14167,
    "h": 125.1
  },
  "luminance": 0.28522
}

Semantic roles & 50–950 ramp

primary
#7B9D2E
secondary
#836ABD
accent
#4ADE77
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7B9D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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