#7B9730#7B9730

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

Color values

HEX#7B9730
RGBrgb(123, 151, 48)
HSLhsl(76, 52%, 39%)
HSVhsv(76, 68%, 59%)
CMYKcmyk(18.5%, 0%, 68.2%, 40.8%)
CIE-LABlab(58.56, -25.15, 48.89)
CIE-LCHlch(58.56, 54.98, 117.22°)
OKLaboklab(63.42% -0.0727 0.1107)
OKLCHoklch(63.42% 0.132 123.3)
XYZxyz(19.7687, 26.5575, 6.8804)
Luminance0.2656 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9730 #4C3097
analogous
#978030 #7B9730 #489730
triadic
#7B9730 #307B97 #97307B
tetradic
#7B9730 #309780 #4C3097 #973048
square
#7B9730 #309780 #4C3097 #973048
split-complementary
#7B9730 #304897 #803097
monochromatic
#2F3A12 #556921 #7B9730 #A0C341 #B7D270

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B9730#FFFFFF#000000##000000
##7B97301.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)
#A08E21
Deuteranopia (green-blind)
#9C8D38
Tritanopia (blue-blind)
#819082
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7b9730;
/* rgb */ color: rgb(123, 151, 48);
/* oklch */ color: oklch(63.4% 0.132 123.3);
Tailwind
colors: {
  custom: {
    50: '#a4b56e',
    500: '#7b9730',
    950: '#000000',
  },
}
SCSS
$custom: #7b9730;
$custom-light: #a4b56e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9730",
  "rgb": {
    "r": 123,
    "g": 151,
    "b": 48
  },
  "hsl": {
    "h": 76.311,
    "s": 51.759,
    "l": 39.02
  },
  "oklch": {
    "l": 0.63419,
    "c": 0.13247,
    "h": 123.3
  },
  "luminance": 0.26558
}

Semantic roles & 50–950 ramp

primary
#7B9730
secondary
#7F6AB9
accent
#4DDB73
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #7B9730

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

Preview Lab → · Contrast checker → · Palette generator →

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