#7B9F1B#7B9F1B

#7B9F1B is a light, vivid yellow-green. Relative luminance 0.291; OKLCH L 65.2% C 0.155 H 124.7°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#7B9F1B
RGBrgb(123, 159, 27)
HSLhsl(76, 71%, 36%)
HSVhsv(76, 83%, 62%)
CMYKcmyk(22.6%, 0%, 83%, 37.6%)
CIE-LABlab(60.86, -30.14, 58.33)
CIE-LCHlch(60.86, 65.66, 117.33°)
OKLaboklab(65.24% -0.0882 0.1271)
OKLCHoklch(65.24% 0.155 124.7)
XYZxyz(20.7646, 29.0861, 5.5569)
Luminance0.2909 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9F1B #3F1B9F
analogous
#9F811B #7B9F1B #399F1B
triadic
#7B9F1B #1B7B9F #9F1B7B
tetradic
#7B9F1B #1B9F81 #3F1B9F #9F1B39
square
#7B9F1B #1B9F81 #3F1B9F #9F1B39
split-complementary
#7B9F1B #1B399F #811B9F
monochromatic
#2A3609 #536B12 #7B9F1B #A3D324 #BBE253

Accessibility & contrast

On white

3.08
#7B9F1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#7B9F1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B9F1B
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B9F1B#FFFFFF#000000##000000
##7B9F1B1.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89400
Deuteranopia (green-blind)
#A3922A
Tritanopia (blue-blind)
#819787
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #7b9f1b;
/* rgb */ color: rgb(123, 159, 27);
/* oklch */ color: oklch(65.2% 0.155 124.7);
Tailwind
colors: {
  custom: {
    50: '#a5bb65',
    500: '#7b9f1b',
    950: '#000000',
  },
}
SCSS
$custom: #7b9f1b;
$custom-light: #a5bb65;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9f1b",
  "rgb": {
    "r": 123,
    "g": 159,
    "b": 27
  },
  "hsl": {
    "h": 76.364,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.65236,
    "c": 0.15471,
    "h": 124.7
  },
  "luminance": 0.29086
}

Semantic roles & 50–950 ramp

primary
#7B9F1B
secondary
#7151C5
accent
#3AEE6B
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101206
muted
#7F817A

Preview Lab

Preview with #7B9F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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