#7A911F#7A911F

#7A911F is a mid, vivid yellow-green. Relative luminance 0.245; OKLCH L 61.8% C 0.136 H 120.8°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#7A911F
RGBrgb(122, 145, 31)
HSLhsl(72, 65%, 35%)
HSVhsv(72, 79%, 57%)
CMYKcmyk(15.9%, 0%, 78.6%, 43.1%)
CIE-LABlab(56.57, -23.57, 53.25)
CIE-LCHlch(56.57, 58.24, 113.88°)
OKLaboklab(61.76% -0.0699 0.1171)
OKLCHoklch(61.76% 0.136 120.8)
XYZxyz(18.3991, 24.4873, 5.0533)
Luminance0.2449 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A911F #361F91
analogous
#916F1F #7A911F #41911F
triadic
#7A911F #1F7A91 #911F7A
tetradic
#7A911F #1F916F #361F91 #911F41
square
#7A911F #1F916F #361F91 #911F41
split-complementary
#7A911F #1F4191 #6F1F91
monochromatic
#252C09 #505F14 #7A911F #A4C32A #BEDA51

Accessibility & contrast

On white

3.56
#7A911F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#7A911F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A911F
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A911F#FFFFFF#000000##000000
##7A911F1.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8800
Deuteranopia (green-blind)
#98882A
Tritanopia (blue-blind)
#81897C
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #7a911f;
/* rgb */ color: rgb(122, 145, 31);
/* oklch */ color: oklch(61.8% 0.136 120.8);
Tailwind
colors: {
  custom: {
    50: '#a4b165',
    500: '#7a911f',
    950: '#000000',
  },
}
SCSS
$custom: #7a911f;
$custom-light: #a4b165;
$custom-dark: #000000;
JSON
{
  "hex": "#7a911f",
  "rgb": {
    "r": 122,
    "g": 145,
    "b": 31
  },
  "hsl": {
    "h": 72.105,
    "s": 64.773,
    "l": 34.51
  },
  "oklch": {
    "l": 0.61759,
    "c": 0.13635,
    "h": 120.8
  },
  "luminance": 0.24487
}

Semantic roles & 50–950 ramp

primary
#7A911F
secondary
#654FBD
accent
#40E862
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7A911F

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

Preview Lab → · Contrast checker → · Palette generator →

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