#7B9E2D#7B9E2D

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

Color values

HEX#7B9E2D
RGBrgb(123, 158, 45)
HSLhsl(79, 56%, 40%)
HSVhsv(79, 72%, 62%)
CMYKcmyk(22.2%, 0%, 71.5%, 38%)
CIE-LABlab(60.65, -28.76, 52.22)
CIE-LCHlch(60.65, 59.62, 118.84°)
OKLaboklab(65.1% -0.083 0.1172)
OKLCHoklch(65.1% 0.144 125.3)
XYZxyz(20.8690, 28.8539, 6.9520)
Luminance0.2885 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9E2D #502D9E
analogous
#9E892D #7B9E2D #439E2D
triadic
#7B9E2D #2D7B9E #9E2D7B
tetradic
#7B9E2D #2D9E89 #502D9E #9E2D43
square
#7B9E2D #2D9E89 #502D9E #9E2D43
split-complementary
#7B9E2D #2D439E #892D9E
monochromatic
#313F12 #566E1F #7B9E2D #9EC940 #B6D66F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B9E2D#FFFFFF#000000##000000
##7B9E2D1.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)
#A7941A
Deuteranopia (green-blind)
#A29237
Tritanopia (blue-blind)
#819688
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7b9e2d;
/* rgb */ color: rgb(123, 158, 45);
/* oklch */ color: oklch(65.1% 0.144 125.3);
Tailwind
colors: {
  custom: {
    50: '#a4ba6d',
    500: '#7b9e2d',
    950: '#000000',
  },
}
SCSS
$custom: #7b9e2d;
$custom-light: #a4ba6d;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9e2d",
  "rgb": {
    "r": 123,
    "g": 158,
    "b": 45
  },
  "hsl": {
    "h": 78.584,
    "s": 55.665,
    "l": 39.804
  },
  "oklch": {
    "l": 0.65101,
    "c": 0.14363,
    "h": 125.3
  },
  "luminance": 0.28854
}

Semantic roles & 50–950 ramp

primary
#7B9E2D
secondary
#8369BD
accent
#49DF77
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7B9E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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