#7B9F2F#7B9F2F

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

Color values

HEX#7B9F2F
RGBrgb(123, 159, 47)
HSLhsl(79, 54%, 40%)
HSVhsv(79, 70%, 62%)
CMYKcmyk(22.6%, 0%, 70.4%, 37.6%)
CIE-LABlab(60.97, -29.11, 51.77)
CIE-LCHlch(60.97, 59.39, 119.35°)
OKLaboklab(65.36% -0.0838 0.1166)
OKLCHoklch(65.36% 0.144 125.7)
XYZxyz(21.0797, 29.2122, 7.2167)
Luminance0.2921 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9F2F #532F9F
analogous
#9F8B2F #7B9F2F #439F2F
triadic
#7B9F2F #2F7B9F #9F2F7B
tetradic
#7B9F2F #2F9F8B #532F9F #9F2F43
square
#7B9F2F #2F9F8B #532F9F #9F2F43
split-complementary
#7B9F2F #2F439F #8B2F9F
monochromatic
#324113 #567021 #7B9F2F #9DC844 #B6D673

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B9F2F#FFFFFF#000000##000000
##7B9F2F1.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)
#A8941D
Deuteranopia (green-blind)
#A39338
Tritanopia (blue-blind)
#809789
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #7b9f2f;
/* rgb */ color: rgb(123, 159, 47);
/* oklch */ color: oklch(65.4% 0.144 125.7);
Tailwind
colors: {
  custom: {
    50: '#a4bb6e',
    500: '#7b9f2f',
    950: '#000000',
  },
}
SCSS
$custom: #7b9f2f;
$custom-light: #a4bb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9f2f",
  "rgb": {
    "r": 123,
    "g": 159,
    "b": 47
  },
  "hsl": {
    "h": 79.286,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.65361,
    "c": 0.14356,
    "h": 125.7
  },
  "luminance": 0.29212
}

Semantic roles & 50–950 ramp

primary
#7B9F2F
secondary
#866DBD
accent
#4ADE7A
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101208
muted
#7F817B

Preview Lab

Preview with #7B9F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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