#7B911F#7B911F

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

Color values

HEX#7B911F
RGBrgb(123, 145, 31)
HSLhsl(72, 65%, 35%)
HSVhsv(72, 79%, 57%)
CMYKcmyk(15.2%, 0%, 78.6%, 43.1%)
CIE-LABlab(56.64, -23.14, 53.34)
CIE-LCHlch(56.64, 58.15, 113.45°)
OKLaboklab(61.84% -0.0688 0.1172)
OKLCHoklch(61.84% 0.136 120.4)
XYZxyz(18.5415, 24.5607, 5.0600)
Luminance0.2456 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B911F #351F91
analogous
#916E1F #7B911F #42911F
triadic
#7B911F #1F7B91 #911F7B
tetradic
#7B911F #1F916E #351F91 #911F42
square
#7B911F #1F916E #351F91 #911F42
split-complementary
#7B911F #1F4291 #6E1F91
monochromatic
#252C09 #505F14 #7B911F #A6C32A #BFDA51

Accessibility & contrast

On white

3.55
#7B911F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#7B911F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B911F
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B911F#FFFFFF#000000##000000
##7B911F1.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b911f;
/* rgb */ color: rgb(123, 145, 31);
/* oklch */ color: oklch(61.8% 0.136 120.4);
Tailwind
colors: {
  custom: {
    50: '#a5b165',
    500: '#7b911f',
    950: '#000000',
  },
}
SCSS
$custom: #7b911f;
$custom-light: #a5b165;
$custom-dark: #000000;
JSON
{
  "hex": "#7b911f",
  "rgb": {
    "r": 123,
    "g": 145,
    "b": 31
  },
  "hsl": {
    "h": 71.579,
    "s": 64.773,
    "l": 34.51
  },
  "oklch": {
    "l": 0.61836,
    "c": 0.13592,
    "h": 120.4
  },
  "luminance": 0.24561
}

Semantic roles & 50–950 ramp

primary
#7B911F
secondary
#644FBD
accent
#40E860
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7B911F

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

Preview Lab → · Contrast checker → · Palette generator →

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