#7B9327#7B9327

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

Color values

HEX#7B9327
RGBrgb(123, 147, 39)
HSLhsl(73, 58%, 36%)
HSVhsv(73, 73%, 58%)
CMYKcmyk(16.3%, 0%, 73.5%, 42.4%)
CIE-LABlab(57.29, -23.73, 51.17)
CIE-LCHlch(57.29, 56.40, 114.88°)
OKLaboklab(62.37% -0.0697 0.114)
OKLCHoklch(62.37% 0.134 121.4)
XYZxyz(18.9686, 25.2249, 5.7886)
Luminance0.2522 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9327 #3F2793
analogous
#937527 #7B9327 #459327
triadic
#7B9327 #277B93 #93277B
tetradic
#7B9327 #279375 #3F2793 #932745
square
#7B9327 #279375 #3F2793 #932745
split-complementary
#7B9327 #274593 #752793
monochromatic
#2A320D #53631A #7B9327 #A3C334 #BBD560

Accessibility & contrast

On white

3.47
#7B9327 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B9327#FFFFFF#000000##000000
##7B93271.003.476.046.04
#FFFFFF3.471.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A13
Deuteranopia (green-blind)
#998A30
Tritanopia (blue-blind)
#828B7E
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7b9327;
/* rgb */ color: rgb(123, 147, 39);
/* oklch */ color: oklch(62.4% 0.134 121.4);
Tailwind
colors: {
  custom: {
    50: '#a4b269',
    500: '#7b9327',
    950: '#000000',
  },
}
SCSS
$custom: #7b9327;
$custom-light: #a4b269;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9327",
  "rgb": {
    "r": 123,
    "g": 147,
    "b": 39
  },
  "hsl": {
    "h": 73.333,
    "s": 58.065,
    "l": 36.471
  },
  "oklch": {
    "l": 0.62374,
    "c": 0.13364,
    "h": 121.4
  },
  "luminance": 0.25225
}

Semantic roles & 50–950 ramp

primary
#7B9327
secondary
#715CBA
accent
#47E169
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#101107
muted
#7F807A

Preview Lab

Preview with #7B9327

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

Preview Lab → · Contrast checker → · Palette generator →

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