#7B9016#7B9016

#7B9016 is a mid, vivid yellow-green. Relative luminance 0.242; OKLCH L 61.5% C 0.139 H 119.8°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#7B9016
RGBrgb(123, 144, 22)
HSLhsl(70, 73%, 33%)
HSVhsv(70, 85%, 56%)
CMYKcmyk(14.6%, 0%, 84.7%, 43.5%)
CIE-LABlab(56.30, -23.00, 55.67)
CIE-LCHlch(56.30, 60.23, 112.45°)
OKLaboklab(61.55% -0.069 0.1206)
OKLCHoklch(61.55% 0.139 119.8)
XYZxyz(18.2869, 24.2155, 4.4696)
Luminance0.2422 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9016 #2B1690
analogous
#906816 #7B9016 #3E9016
triadic
#7B9016 #167B90 #90167B
tetradic
#7B9016 #169068 #2B1690 #90163E
square
#7B9016 #169068 #2B1690 #90163E
split-complementary
#7B9016 #163E90 #681690
monochromatic
#202606 #4E5B0E #7B9016 #A8C51E #C6E23F

Accessibility & contrast

On white

3.59
#7B9016 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#7B9016 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B9016
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B9016#FFFFFF#000000##000000
##7B90161.003.595.845.84
#FFFFFF3.591.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8700
Deuteranopia (green-blind)
#978724
Tritanopia (blue-blind)
#83887A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7b9016;
/* rgb */ color: rgb(123, 144, 22);
/* oklch */ color: oklch(61.5% 0.139 119.8);
Tailwind
colors: {
  custom: {
    50: '#a5b061',
    500: '#7b9016',
    950: '#000000',
  },
}
SCSS
$custom: #7b9016;
$custom-light: #a5b061;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9016",
  "rgb": {
    "r": 123,
    "g": 144,
    "b": 22
  },
  "hsl": {
    "h": 70.328,
    "s": 73.494,
    "l": 32.549
  },
  "oklch": {
    "l": 0.61548,
    "c": 0.13898,
    "h": 119.8
  },
  "luminance": 0.24215
}

Semantic roles & 50–950 ramp

primary
#7B9016
secondary
#5640C2
accent
#38F057
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7B9016

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

Preview Lab → · Contrast checker → · Palette generator →

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