#7B9D2F#7B9D2F

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

Color values

HEX#7B9D2F
RGBrgb(123, 157, 47)
HSLhsl(79, 54%, 40%)
HSVhsv(79, 70%, 62%)
CMYKcmyk(21.7%, 0%, 70.1%, 38.4%)
CIE-LABlab(60.36, -28.15, 51.15)
CIE-LCHlch(60.36, 58.38, 118.82°)
OKLaboklab(64.87% -0.0811 0.1153)
OKLCHoklch(64.87% 0.141 125.1)
XYZxyz(20.7386, 28.5299, 7.1030)
Luminance0.2853 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9D2F #512F9D
analogous
#9D882F #7B9D2F #449D2F
triadic
#7B9D2F #2F7B9D #9D2F7B
tetradic
#7B9D2F #2F9D88 #512F9D #9D2F44
square
#7B9D2F #2F9D88 #512F9D #9D2F44
split-complementary
#7B9D2F #2F449D #882F9D
monochromatic
#313F13 #566E21 #7B9D2F #9EC743 #B6D572

Accessibility & contrast

On white

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

On black

6.71
#7B9D2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B9D2F
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B9D2F#FFFFFF#000000##000000
##7B9D2F1.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6931E
Deuteranopia (green-blind)
#A19138
Tritanopia (blue-blind)
#819587
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7b9d2f;
/* rgb */ color: rgb(123, 157, 47);
/* oklch */ color: oklch(64.9% 0.141 125.1);
Tailwind
colors: {
  custom: {
    50: '#a4ba6e',
    500: '#7b9d2f',
    950: '#000000',
  },
}
SCSS
$custom: #7b9d2f;
$custom-light: #a4ba6e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9d2f",
  "rgb": {
    "r": 123,
    "g": 157,
    "b": 47
  },
  "hsl": {
    "h": 78.545,
    "s": 53.922,
    "l": 40
  },
  "oklch": {
    "l": 0.64873,
    "c": 0.14097,
    "h": 125.1
  },
  "luminance": 0.2853
}

Semantic roles & 50–950 ramp

primary
#7B9D2F
secondary
#846BBC
accent
#4BDD78
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101108
muted
#7F807B

Preview Lab

Preview with #7B9D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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