#7B9752#7B9752

#7B9752 is a light, moderate yellow-green. Relative luminance 0.270; OKLCH L 63.8% C 0.100 H 127.1°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#7B9752
RGBrgb(123, 151, 82)
HSLhsl(84, 30%, 46%)
HSVhsv(84, 46%, 59%)
CMYKcmyk(18.5%, 0%, 45.7%, 40.8%)
CIE-LABlab(58.93, -21.87, 33.06)
CIE-LCHlch(58.93, 39.64, 123.49°)
OKLaboklab(63.83% -0.0606 0.08)
OKLCHoklch(63.83% 0.1 127.1)
XYZxyz(20.7578, 26.9531, 12.0899)
Luminance0.2695 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9752 #6E5297
analogous
#979052 #7B9752 #589752
triadic
#7B9752 #527B97 #97527B
tetradic
#7B9752 #529790 #6E5297 #975258
square
#7B9752 #529790 #6E5297 #975258
split-complementary
#7B9752 #525897 #905297
monochromatic
#3A4827 #5B6F3C #7B9752 #99B373 #B6C99B

Accessibility & contrast

On white

3.29
#7B9752 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#7B9752 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B9752
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B9752#FFFFFF#000000##000000
##7B97521.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8F4C
Deuteranopia (green-blind)
#998D56
Tritanopia (blue-blind)
#7E9187
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #7b9752;
/* rgb */ color: rgb(123, 151, 82);
/* oklch */ color: oklch(63.8% 0.100 127.1);
Tailwind
colors: {
  custom: {
    50: '#a2b584',
    500: '#7b9752',
    950: '#000000',
  },
}
SCSS
$custom: #7b9752;
$custom-light: #a2b584;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9752",
  "rgb": {
    "r": 123,
    "g": 151,
    "b": 82
  },
  "hsl": {
    "h": 84.348,
    "s": 29.614,
    "l": 45.686
  },
  "oklch": {
    "l": 0.63835,
    "c": 0.10036,
    "h": 127.1
  },
  "luminance": 0.26953
}

Semantic roles & 50–950 ramp

primary
#7B9752
secondary
#9F8FB6
accent
#62C68A
background
#FAFBF8
surface
#F4F6EF
border
#CED0CA
text
#0F110B
muted
#7F807C

Preview Lab

Preview with #7B9752

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

Preview Lab → · Contrast checker → · Palette generator →

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