#7B9A20#7B9A20

#7B9A20 is a light, vivid yellow-green. Relative luminance 0.274; OKLCH L 64.0% C 0.146 H 123.5°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#7B9A20
RGBrgb(123, 154, 32)
HSLhsl(75, 66%, 36%)
HSVhsv(75, 79%, 60%)
CMYKcmyk(20.1%, 0%, 79.2%, 39.6%)
CIE-LABlab(59.37, -27.54, 55.53)
CIE-LCHlch(59.37, 61.99, 116.37°)
OKLaboklab(64.04% -0.0807 0.1221)
OKLCHoklch(64.04% 0.146 123.5)
XYZxyz(19.9849, 27.4263, 5.6072)
Luminance0.2743 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9A20 #3F209A
analogous
#9A7C20 #7B9A20 #3E9A20
triadic
#7B9A20 #207B9A #9A207B
tetradic
#7B9A20 #209A7C #3F209A #9A203E
square
#7B9A20 #209A7C #3F209A #9A203E
split-complementary
#7B9A20 #203E9A #7C209A
monochromatic
#2A350B #536715 #7B9A20 #A3CD2B #BBDC58

Accessibility & contrast

On white

3.24
#7B9A20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#7B9A20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B9A20
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B9A20#FFFFFF#000000##000000
##7B9A201.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39000
Deuteranopia (green-blind)
#9F8F2C
Tritanopia (blue-blind)
#819283
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7b9a20;
/* rgb */ color: rgb(123, 154, 32);
/* oklch */ color: oklch(64.0% 0.146 123.5);
Tailwind
colors: {
  custom: {
    50: '#a5b767',
    500: '#7b9a20',
    950: '#000000',
  },
}
SCSS
$custom: #7b9a20;
$custom-light: #a5b767;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9a20",
  "rgb": {
    "r": 123,
    "g": 154,
    "b": 32
  },
  "hsl": {
    "h": 75.246,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.64036,
    "c": 0.14632,
    "h": 123.5
  },
  "luminance": 0.27426
}

Semantic roles & 50–950 ramp

primary
#7B9A20
secondary
#7156C0
accent
#3FE96A
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7B9A20

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

Preview Lab → · Contrast checker → · Palette generator →

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