#7B9121#7B9121

#7B9121 is a mid, vivid yellow-green. Relative luminance 0.246; OKLCH L 61.8% C 0.135 H 120.5°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#7B9121
RGBrgb(123, 145, 33)
HSLhsl(72, 63%, 35%)
HSVhsv(72, 77%, 57%)
CMYKcmyk(15.2%, 0%, 77.2%, 43.1%)
CIE-LABlab(56.66, -23.05, 52.69)
CIE-LCHlch(56.66, 57.51, 113.62°)
OKLaboklab(61.85% -0.0683 0.1162)
OKLCHoklch(61.85% 0.135 120.5)
XYZxyz(18.5686, 24.5716, 5.2031)
Luminance0.2457 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9121 #372191
analogous
#916F21 #7B9121 #439121
triadic
#7B9121 #217B91 #91217B
tetradic
#7B9121 #21916F #372191 #912143
square
#7B9121 #21916F #372191 #912143
split-complementary
#7B9121 #214391 #6F2191
monochromatic
#262D0A #515F16 #7B9121 #A5C32C #BED854

Accessibility & contrast

On white

3.55
#7B9121 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#7B9121 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B9121
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B9121#FFFFFF#000000##000000
##7B91211.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8805
Deuteranopia (green-blind)
#98882B
Tritanopia (blue-blind)
#82897C
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #7b9121;
/* rgb */ color: rgb(123, 145, 33);
/* oklch */ color: oklch(61.8% 0.135 120.5);
Tailwind
colors: {
  custom: {
    50: '#a4b166',
    500: '#7b9121',
    950: '#000000',
  },
}
SCSS
$custom: #7b9121;
$custom-light: #a4b166;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9121",
  "rgb": {
    "r": 123,
    "g": 145,
    "b": 33
  },
  "hsl": {
    "h": 71.786,
    "s": 62.921,
    "l": 34.902
  },
  "oklch": {
    "l": 0.61848,
    "c": 0.13481,
    "h": 120.5
  },
  "luminance": 0.24572
}

Semantic roles & 50–950 ramp

primary
#7B9121
secondary
#6752BC
accent
#42E662
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7B9121

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

Preview Lab → · Contrast checker → · Palette generator →

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