#7B911E#7B911E

#7B911E 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#7B911E
RGBrgb(123, 145, 30)
HSLhsl(71, 66%, 34%)
HSVhsv(71, 79%, 57%)
CMYKcmyk(15.2%, 0%, 79.3%, 43.1%)
CIE-LABlab(56.64, -23.19, 53.66)
CIE-LCHlch(56.64, 58.46, 113.37°)
OKLaboklab(61.83% -0.069 0.1177)
OKLCHoklch(61.83% 0.136 120.4)
XYZxyz(18.5285, 24.5555, 4.9916)
Luminance0.2455 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B911E #341E91
analogous
#916E1E #7B911E #42911E
triadic
#7B911E #1E7B91 #911E7B
tetradic
#7B911E #1E916E #341E91 #911E42
square
#7B911E #1E916E #341E91 #911E42
split-complementary
#7B911E #1E4291 #6E1E91
monochromatic
#252C09 #505E14 #7B911E #A6C428 #C0DB4F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B911E#FFFFFF#000000##000000
##7B911E1.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)
#9B8800
Deuteranopia (green-blind)
#988829
Tritanopia (blue-blind)
#82897C
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #7b911e;
/* rgb */ color: rgb(123, 145, 30);
/* oklch */ color: oklch(61.8% 0.136 120.4);
Tailwind
colors: {
  custom: {
    50: '#a5b164',
    500: '#7b911e',
    950: '#000000',
  },
}
SCSS
$custom: #7b911e;
$custom-light: #a5b164;
$custom-dark: #000000;
JSON
{
  "hex": "#7b911e",
  "rgb": {
    "r": 123,
    "g": 145,
    "b": 30
  },
  "hsl": {
    "h": 71.478,
    "s": 65.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.6183,
    "c": 0.13644,
    "h": 120.4
  },
  "luminance": 0.24555
}

Semantic roles & 50–950 ramp

primary
#7B911E
secondary
#634DBD
accent
#3FE960
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7B911E

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

Preview Lab → · Contrast checker → · Palette generator →

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