#7B9F2D#7B9F2D

#7B9F2D is a light, vivid yellow-green. Relative luminance 0.292; OKLCH L 65.3% C 0.145 H 125.6°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#7B9F2D
RGBrgb(123, 159, 45)
HSLhsl(79, 56%, 40%)
HSVhsv(79, 72%, 62%)
CMYKcmyk(22.6%, 0%, 71.7%, 37.6%)
CIE-LABlab(60.95, -29.24, 52.53)
CIE-LCHlch(60.95, 60.11, 119.10°)
OKLaboklab(65.35% -0.0843 0.1179)
OKLCHoklch(65.35% 0.145 125.6)
XYZxyz(21.0403, 29.1964, 7.0091)
Luminance0.2920 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9F2D #512D9F
analogous
#9F8A2D #7B9F2D #429F2D
triadic
#7B9F2D #2D7B9F #9F2D7B
tetradic
#7B9F2D #2D9F8A #512D9F #9F2D42
square
#7B9F2D #2D9F8A #512D9F #9F2D42
split-complementary
#7B9F2D #2D429F #8A2D9F
monochromatic
#314012 #566F20 #7B9F2D #9EC940 #B6D670

Accessibility & contrast

On white

3.07
#7B9F2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#7B9F2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B9F2D
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B9F2D#FFFFFF#000000##000000
##7B9F2D1.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8941A
Deuteranopia (green-blind)
#A39337
Tritanopia (blue-blind)
#809789
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #7b9f2d;
/* rgb */ color: rgb(123, 159, 45);
/* oklch */ color: oklch(65.3% 0.145 125.6);
Tailwind
colors: {
  custom: {
    50: '#a4bb6d',
    500: '#7b9f2d',
    950: '#000000',
  },
}
SCSS
$custom: #7b9f2d;
$custom-light: #a4bb6d;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9f2d",
  "rgb": {
    "r": 123,
    "g": 159,
    "b": 45
  },
  "hsl": {
    "h": 78.947,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.65346,
    "c": 0.14491,
    "h": 125.6
  },
  "luminance": 0.29197
}

Semantic roles & 50–950 ramp

primary
#7B9F2D
secondary
#846ABE
accent
#49DF78
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7B9F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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