#7B992B#7B992B

#7B992B is a light, vivid yellow-green. Relative luminance 0.272; OKLCH L 63.9% C 0.139 H 123.7°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#7B992B
RGBrgb(123, 153, 43)
HSLhsl(76, 56%, 38%)
HSVhsv(76, 72%, 60%)
CMYKcmyk(19.6%, 0%, 71.9%, 40%)
CIE-LABlab(59.13, -26.46, 51.47)
CIE-LCHlch(59.13, 57.87, 117.21°)
OKLaboklab(63.87% -0.0768 0.1153)
OKLCHoklch(63.87% 0.139 123.7)
XYZxyz(19.9959, 27.1677, 6.4755)
Luminance0.2717 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B992B #492B99
analogous
#99802B #7B992B #44992B
triadic
#7B992B #2B7B99 #992B7B
tetradic
#7B992B #2B9980 #492B99 #992B44
square
#7B992B #2B9980 #492B99 #992B44
split-complementary
#7B992B #2B4499 #802B99
monochromatic
#2E3910 #55691E #7B992B #A1C83A #B8D569

Accessibility & contrast

On white

3.26
#7B992B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#7B992B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B992B
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B992B#FFFFFF#000000##000000
##7B992B1.003.266.436.43
#FFFFFF3.261.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F18
Deuteranopia (green-blind)
#9E8E34
Tritanopia (blue-blind)
#819183
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #7b992b;
/* rgb */ color: rgb(123, 153, 43);
/* oklch */ color: oklch(63.9% 0.139 123.7);
Tailwind
colors: {
  custom: {
    50: '#a4b76c',
    500: '#7b992b',
    950: '#000000',
  },
}
SCSS
$custom: #7b992b;
$custom-light: #a4b76c;
$custom-dark: #000000;
JSON
{
  "hex": "#7b992b",
  "rgb": {
    "r": 123,
    "g": 153,
    "b": 43
  },
  "hsl": {
    "h": 76.364,
    "s": 56.122,
    "l": 38.431
  },
  "oklch": {
    "l": 0.63865,
    "c": 0.13858,
    "h": 123.7
  },
  "luminance": 0.27168
}

Semantic roles & 50–950 ramp

primary
#7B992B
secondary
#7C64BC
accent
#48DF72
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7B992B

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

Preview Lab → · Contrast checker → · Palette generator →

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