#7B991A#7B991A

#7B991A is a light, vivid yellow-green. Relative luminance 0.271; OKLCH L 63.8% C 0.148 H 123.0°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#7B991A
RGBrgb(123, 153, 26)
HSLhsl(74, 71%, 35%)
HSVhsv(74, 83%, 60%)
CMYKcmyk(19.6%, 0%, 83%, 40%)
CIE-LABlab(59.04, -27.30, 56.99)
CIE-LCHlch(59.04, 63.19, 115.60°)
OKLaboklab(63.76% -0.0805 0.1241)
OKLCHoklch(63.76% 0.148 123)
XYZxyz(19.7464, 27.0679, 5.1614)
Luminance0.2707 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B991A #381A99
analogous
#99771A #7B991A #3C991A
triadic
#7B991A #1A7B99 #991A7B
tetradic
#7B991A #1A9977 #381A99 #991A3C
square
#7B991A #1A9977 #381A99 #991A3C
split-complementary
#7B991A #1A3C99 #771A99
monochromatic
#273008 #516511 #7B991A #A5CD23 #BEE14D

Accessibility & contrast

On white

3.27
#7B991A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#7B991A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B991A
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B991A#FFFFFF#000000##000000
##7B991A1.003.276.416.41
#FFFFFF3.271.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F00
Deuteranopia (green-blind)
#9F8E28
Tritanopia (blue-blind)
#829182
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #7b991a;
/* rgb */ color: rgb(123, 153, 26);
/* oklch */ color: oklch(63.8% 0.148 123.0);
Tailwind
colors: {
  custom: {
    50: '#a5b764',
    500: '#7b991a',
    950: '#000000',
  },
}
SCSS
$custom: #7b991a;
$custom-light: #a5b764;
$custom-dark: #000000;
JSON
{
  "hex": "#7b991a",
  "rgb": {
    "r": 123,
    "g": 153,
    "b": 26
  },
  "hsl": {
    "h": 74.173,
    "s": 70.95,
    "l": 35.098
  },
  "oklch": {
    "l": 0.63761,
    "c": 0.14794,
    "h": 123
  },
  "luminance": 0.27068
}

Semantic roles & 50–950 ramp

primary
#7B991A
secondary
#684CC3
accent
#3AEE65
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7B991A

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

Preview Lab → · Contrast checker → · Palette generator →

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