#7B9020#7B9020

#7B9020 is a mid, vivid yellow-green. Relative luminance 0.243; OKLCH L 61.6% C 0.134 H 120.0°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#7B9020
RGBrgb(123, 144, 32)
HSLhsl(71, 64%, 35%)
HSVhsv(71, 78%, 56%)
CMYKcmyk(14.6%, 0%, 77.8%, 43.5%)
CIE-LABlab(56.35, -22.59, 52.74)
CIE-LCHlch(56.35, 57.38, 113.19°)
OKLaboklab(61.6% -0.0672 0.1161)
OKLCHoklch(61.6% 0.134 120)
XYZxyz(18.4027, 24.2618, 5.0797)
Luminance0.2426 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9020 #352090
analogous
#906D20 #7B9020 #439020
triadic
#7B9020 #207B90 #90207B
tetradic
#7B9020 #20906D #352090 #902043
square
#7B9020 #20906D #352090 #902043
split-complementary
#7B9020 #204390 #6D2090
monochromatic
#252C0A #505E15 #7B9020 #A6C22B #BFD952

Accessibility & contrast

On white

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

On black

5.85
#7B9020 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B9020
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B9020#FFFFFF#000000##000000
##7B90201.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#998703
Deuteranopia (green-blind)
#97872A
Tritanopia (blue-blind)
#82887B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7b9020;
/* rgb */ color: rgb(123, 144, 32);
/* oklch */ color: oklch(61.6% 0.134 120.0);
Tailwind
colors: {
  custom: {
    50: '#a4b065',
    500: '#7b9020',
    950: '#000000',
  },
}
SCSS
$custom: #7b9020;
$custom-light: #a4b065;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9020",
  "rgb": {
    "r": 123,
    "g": 144,
    "b": 32
  },
  "hsl": {
    "h": 71.25,
    "s": 63.636,
    "l": 34.51
  },
  "oklch": {
    "l": 0.61599,
    "c": 0.13416,
    "h": 120
  },
  "luminance": 0.24262
}

Semantic roles & 50–950 ramp

primary
#7B9020
secondary
#6450BC
accent
#41E760
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7B9020

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

Preview Lab → · Contrast checker → · Palette generator →

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