#7B992C#7B992C

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

Color values

HEX#7B992C
RGBrgb(123, 153, 44)
HSLhsl(77, 55%, 39%)
HSVhsv(77, 71%, 60%)
CMYKcmyk(19.6%, 0%, 71.2%, 40%)
CIE-LABlab(59.14, -26.40, 51.09)
CIE-LCHlch(59.14, 57.50, 117.32°)
OKLaboklab(63.87% -0.0766 0.1147)
OKLCHoklch(63.87% 0.138 123.7)
XYZxyz(20.0144, 27.1751, 6.5733)
Luminance0.2717 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B992C #4A2C99
analogous
#99802C #7B992C #44992C
triadic
#7B992C #2C7B99 #992C7B
tetradic
#7B992C #2C9980 #4A2C99 #992C44
square
#7B992C #2C9980 #4A2C99 #992C44
split-complementary
#7B992C #2C4499 #802C99
monochromatic
#2F3A11 #55691E #7B992C #A0C73B #B7D46B

Accessibility & contrast

On white

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

On black

6.44
#7B992C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B992C
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B992C#FFFFFF#000000##000000
##7B992C1.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b992c;
/* rgb */ color: rgb(123, 153, 44);
/* oklch */ color: oklch(63.9% 0.138 123.7);
Tailwind
colors: {
  custom: {
    50: '#a4b76c',
    500: '#7b992c',
    950: '#000000',
  },
}
SCSS
$custom: #7b992c;
$custom-light: #a4b76c;
$custom-dark: #000000;
JSON
{
  "hex": "#7b992c",
  "rgb": {
    "r": 123,
    "g": 153,
    "b": 44
  },
  "hsl": {
    "h": 76.514,
    "s": 55.33,
    "l": 38.627
  },
  "oklch": {
    "l": 0.63873,
    "c": 0.1379,
    "h": 123.7
  },
  "luminance": 0.27175
}

Semantic roles & 50–950 ramp

primary
#7B992C
secondary
#7D66BB
accent
#49DF72
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7B992C

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

Preview Lab → · Contrast checker → · Palette generator →

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