#7B9733#7B9733

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

Color values

HEX#7B9733
RGBrgb(123, 151, 51)
HSLhsl(77, 50%, 40%)
HSVhsv(77, 66%, 59%)
CMYKcmyk(18.5%, 0%, 66.2%, 40.8%)
CIE-LABlab(58.59, -24.93, 47.66)
CIE-LCHlch(58.59, 53.78, 117.62°)
OKLaboklab(63.45% -0.0719 0.1085)
OKLCHoklch(63.45% 0.13 123.5)
XYZxyz(19.8327, 26.5831, 7.2175)
Luminance0.2658 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9733 #4F3397
analogous
#978133 #7B9733 #499733
triadic
#7B9733 #337B97 #97337B
tetradic
#7B9733 #339781 #4F3397 #973349
square
#7B9733 #339781 #4F3397 #973349
split-complementary
#7B9733 #334997 #813397
monochromatic
#303C14 #566924 #7B9733 #9EC147 #B6D074

Accessibility & contrast

On white

3.32
#7B9733 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#7B9733 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B9733
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B9733#FFFFFF#000000##000000
##7B97331.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b9733;
/* rgb */ color: rgb(123, 151, 51);
/* oklch */ color: oklch(63.4% 0.130 123.5);
Tailwind
colors: {
  custom: {
    50: '#a4b570',
    500: '#7b9733',
    950: '#000000',
  },
}
SCSS
$custom: #7b9733;
$custom-light: #a4b570;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9733",
  "rgb": {
    "r": 123,
    "g": 151,
    "b": 51
  },
  "hsl": {
    "h": 76.8,
    "s": 49.505,
    "l": 39.608
  },
  "oklch": {
    "l": 0.63446,
    "c": 0.13018,
    "h": 123.5
  },
  "luminance": 0.26583
}

Semantic roles & 50–950 ramp

primary
#7B9733
secondary
#826DB8
accent
#4FD975
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1108
muted
#7F807B

Preview Lab

Preview with #7B9733

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

Preview Lab → · Contrast checker → · Palette generator →

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