#7B9E16#7B9E16

#7B9E16 is a light, vivid yellow-green. Relative luminance 0.287; OKLCH L 65.0% C 0.155 H 124.3°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#7B9E16
RGBrgb(123, 158, 22)
HSLhsl(75, 76%, 35%)
HSVhsv(75, 86%, 62%)
CMYKcmyk(22.2%, 0%, 86.1%, 38%)
CIE-LABlab(60.54, -29.85, 59.30)
CIE-LCHlch(60.54, 66.39, 116.72°)
OKLaboklab(64.97% -0.0876 0.1284)
OKLCHoklch(64.97% 0.155 124.3)
XYZxyz(20.5403, 28.7224, 5.2207)
Luminance0.2872 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9E16 #39169E
analogous
#9E7D16 #7B9E16 #379E16
triadic
#7B9E16 #167B9E #9E167B
tetradic
#7B9E16 #169E7D #39169E #9E1637
square
#7B9E16 #169E7D #39169E #9E1637
split-complementary
#7B9E16 #16379E #7D169E
monochromatic
#273307 #51680F #7B9E16 #A5D41D #BDE649

Accessibility & contrast

On white

3.11
#7B9E16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#7B9E16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B9E16
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B9E16#FFFFFF#000000##000000
##7B9E161.003.116.746.74
#FFFFFF3.111.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79300
Deuteranopia (green-blind)
#A39227
Tritanopia (blue-blind)
#819686
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7b9e16;
/* rgb */ color: rgb(123, 158, 22);
/* oklch */ color: oklch(65.0% 0.155 124.3);
Tailwind
colors: {
  custom: {
    50: '#a5ba63',
    500: '#7b9e16',
    950: '#000000',
  },
}
SCSS
$custom: #7b9e16;
$custom-light: #a5ba63;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9e16",
  "rgb": {
    "r": 123,
    "g": 158,
    "b": 22
  },
  "hsl": {
    "h": 75.441,
    "s": 75.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.6497,
    "c": 0.15548,
    "h": 124.3
  },
  "luminance": 0.28723
}

Semantic roles & 50–950 ramp

primary
#7B9E16
secondary
#6949C7
accent
#36F266
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7B9E16

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

Preview Lab → · Contrast checker → · Palette generator →

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