#7B991F#7B991F

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

Color values

HEX#7B991F
RGBrgb(123, 153, 31)
HSLhsl(75, 66%, 36%)
HSVhsv(75, 80%, 60%)
CMYKcmyk(19.6%, 0%, 79.7%, 40%)
CIE-LABlab(59.06, -27.10, 55.56)
CIE-LCHlch(59.06, 61.82, 116.00°)
OKLaboklab(63.79% -0.0796 0.1219)
OKLCHoklch(63.79% 0.146 123.1)
XYZxyz(19.8072, 27.0922, 5.4819)
Luminance0.2709 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B991F #3D1F99
analogous
#997A1F #7B991F #3E991F
triadic
#7B991F #1F7B99 #991F7B
tetradic
#7B991F #1F997A #3D1F99 #991F3E
square
#7B991F #1F997A #3D1F99 #991F3E
split-complementary
#7B991F #1F3E99 #7A1F99
monochromatic
#29330A #526615 #7B991F #A4CC29 #BCDD56

Accessibility & contrast

On white

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

On black

6.42
#7B991F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B991F
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B991F#FFFFFF#000000##000000
##7B991F1.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b991f;
/* rgb */ color: rgb(123, 153, 31);
/* oklch */ color: oklch(63.8% 0.146 123.1);
Tailwind
colors: {
  custom: {
    50: '#a5b766',
    500: '#7b991f',
    950: '#000000',
  },
}
SCSS
$custom: #7b991f;
$custom-light: #a5b766;
$custom-dark: #000000;
JSON
{
  "hex": "#7b991f",
  "rgb": {
    "r": 123,
    "g": 153,
    "b": 31
  },
  "hsl": {
    "h": 74.754,
    "s": 66.304,
    "l": 36.078
  },
  "oklch": {
    "l": 0.63786,
    "c": 0.1456,
    "h": 123.1
  },
  "luminance": 0.27092
}

Semantic roles & 50–950 ramp

primary
#7B991F
secondary
#6E54C0
accent
#3FE969
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7B991F

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

Preview Lab → · Contrast checker → · Palette generator →

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