#7A991F#7A991F

#7A991F is a light, vivid yellow-green. Relative luminance 0.270; OKLCH L 63.7% C 0.146 H 123.5°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#7A991F
RGBrgb(122, 153, 31)
HSLhsl(75, 66%, 36%)
HSVhsv(75, 80%, 60%)
CMYKcmyk(20.3%, 0%, 79.7%, 40%)
CIE-LABlab(58.99, -27.52, 55.48)
CIE-LCHlch(58.99, 61.92, 116.38°)
OKLaboklab(63.71% -0.0807 0.1218)
OKLCHoklch(63.71% 0.146 123.5)
XYZxyz(19.6648, 27.0188, 5.4752)
Luminance0.2702 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A991F #3E1F99
analogous
#997B1F #7A991F #3D991F
triadic
#7A991F #1F7A99 #991F7A
tetradic
#7A991F #1F997B #3E1F99 #991F3D
square
#7A991F #1F997B #3E1F99 #991F3D
split-complementary
#7A991F #1F3D99 #7B1F99
monochromatic
#29330A #516615 #7A991F #A3CC29 #BADD56

Accessibility & contrast

On white

3.28
#7A991F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#7A991F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A991F
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A991F#FFFFFF#000000##000000
##7A991F1.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a991f;
/* rgb */ color: rgb(122, 153, 31);
/* oklch */ color: oklch(63.7% 0.146 123.5);
Tailwind
colors: {
  custom: {
    50: '#a4b766',
    500: '#7a991f',
    950: '#000000',
  },
}
SCSS
$custom: #7a991f;
$custom-light: #a4b766;
$custom-dark: #000000;
JSON
{
  "hex": "#7a991f",
  "rgb": {
    "r": 122,
    "g": 153,
    "b": 31
  },
  "hsl": {
    "h": 75.246,
    "s": 66.304,
    "l": 36.078
  },
  "oklch": {
    "l": 0.63714,
    "c": 0.14608,
    "h": 123.5
  },
  "luminance": 0.27019
}

Semantic roles & 50–950 ramp

primary
#7A991F
secondary
#6F54C0
accent
#3FE96A
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7A991F

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

Preview Lab → · Contrast checker → · Palette generator →

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