#7B9320#7B9320

#7B9320 is a light, vivid yellow-green. Relative luminance 0.252; OKLCH L 62.3% C 0.138 H 121.2°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#7B9320
RGBrgb(123, 147, 32)
HSLhsl(73, 64%, 35%)
HSVhsv(73, 78%, 58%)
CMYKcmyk(16.3%, 0%, 78.2%, 42.4%)
CIE-LABlab(57.25, -24.10, 53.58)
CIE-LCHlch(57.25, 58.75, 114.21°)
OKLaboklab(62.33% -0.0713 0.1179)
OKLCHoklch(62.33% 0.138 121.2)
XYZxyz(18.8631, 25.1827, 5.2332)
Luminance0.2518 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9320 #382093
analogous
#937220 #7B9320 #419320
triadic
#7B9320 #207B93 #93207B
tetradic
#7B9320 #209372 #382093 #932041
square
#7B9320 #209372 #382093 #932041
split-complementary
#7B9320 #204193 #722093
monochromatic
#272E0A #516115 #7B9320 #A5C52B #BEDA54

Accessibility & contrast

On white

3.48
#7B9320 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#7B9320 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B9320
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B9320#FFFFFF#000000##000000
##7B93201.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A01
Deuteranopia (green-blind)
#998A2B
Tritanopia (blue-blind)
#828B7E
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #7b9320;
/* rgb */ color: rgb(123, 147, 32);
/* oklch */ color: oklch(62.3% 0.138 121.2);
Tailwind
colors: {
  custom: {
    50: '#a5b266',
    500: '#7b9320',
    950: '#000000',
  },
}
SCSS
$custom: #7b9320;
$custom-light: #a5b266;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9320",
  "rgb": {
    "r": 123,
    "g": 147,
    "b": 32
  },
  "hsl": {
    "h": 72.522,
    "s": 64.246,
    "l": 35.098
  },
  "oklch": {
    "l": 0.62328,
    "c": 0.13779,
    "h": 121.2
  },
  "luminance": 0.25183
}

Semantic roles & 50–950 ramp

primary
#7B9320
secondary
#6852BD
accent
#41E763
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7B9320

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

Preview Lab → · Contrast checker → · Palette generator →

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