#7B9732#7B9732

#7B9732 is a light, vivid yellow-green. Relative luminance 0.266; OKLCH L 63.4% C 0.131 H 123.4°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#7B9732
RGBrgb(123, 151, 50)
HSLhsl(77, 50%, 39%)
HSVhsv(77, 67%, 59%)
CMYKcmyk(18.5%, 0%, 66.9%, 40.8%)
CIE-LABlab(58.58, -25.00, 48.07)
CIE-LCHlch(58.58, 54.19, 117.48°)
OKLaboklab(63.44% -0.0722 0.1093)
OKLCHoklch(63.44% 0.131 123.4)
XYZxyz(19.8109, 26.5743, 7.1027)
Luminance0.2657 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9732 #4E3297
analogous
#978132 #7B9732 #489732
triadic
#7B9732 #327B97 #97327B
tetradic
#7B9732 #329781 #4E3297 #973248
square
#7B9732 #329781 #4E3297 #973248
split-complementary
#7B9732 #324897 #813297
monochromatic
#303B14 #566923 #7B9732 #9FC145 #B7D173

Accessibility & contrast

On white

3.33
#7B9732 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#7B9732 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B9732
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B9732#FFFFFF#000000##000000
##7B97321.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08E24
Deuteranopia (green-blind)
#9C8D3A
Tritanopia (blue-blind)
#819082
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7b9732;
/* rgb */ color: rgb(123, 151, 50);
/* oklch */ color: oklch(63.4% 0.131 123.4);
Tailwind
colors: {
  custom: {
    50: '#a4b56f',
    500: '#7b9732',
    950: '#000000',
  },
}
SCSS
$custom: #7b9732;
$custom-light: #a4b56f;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9732",
  "rgb": {
    "r": 123,
    "g": 151,
    "b": 50
  },
  "hsl": {
    "h": 76.634,
    "s": 50.249,
    "l": 39.412
  },
  "oklch": {
    "l": 0.63436,
    "c": 0.13096,
    "h": 123.4
  },
  "luminance": 0.26574
}

Semantic roles & 50–950 ramp

primary
#7B9732
secondary
#816CB9
accent
#4EDA75
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1108
muted
#7F807B

Preview Lab

Preview with #7B9732

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

Preview Lab → · Contrast checker → · Palette generator →

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