#7B911C#7B911C

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

Color values

HEX#7B911C
RGBrgb(123, 145, 28)
HSLhsl(71, 68%, 34%)
HSVhsv(71, 81%, 57%)
CMYKcmyk(15.2%, 0%, 80.7%, 43.1%)
CIE-LABlab(56.63, -23.28, 54.27)
CIE-LCHlch(56.63, 59.05, 113.21°)
OKLaboklab(61.82% -0.0693 0.1187)
OKLCHoklch(61.82% 0.137 120.3)
XYZxyz(18.5037, 24.5457, 4.8614)
Luminance0.2455 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B911C #321C91
analogous
#916D1C #7B911C #41911C
triadic
#7B911C #1C7B91 #911C7B
tetradic
#7B911C #1C916D #321C91 #911C41
square
#7B911C #1C916D #321C91 #911C41
split-complementary
#7B911C #1C4191 #6D1C91
monochromatic
#242A08 #4F5E12 #7B911C #A7C426 #C1DC4B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B911C#FFFFFF#000000##000000
##7B911C1.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)
#988828
Tritanopia (blue-blind)
#82897C
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #7b911c;
/* rgb */ color: rgb(123, 145, 28);
/* oklch */ color: oklch(61.8% 0.137 120.3);
Tailwind
colors: {
  custom: {
    50: '#a5b164',
    500: '#7b911c',
    950: '#000000',
  },
}
SCSS
$custom: #7b911c;
$custom-light: #a5b164;
$custom-dark: #000000;
JSON
{
  "hex": "#7b911c",
  "rgb": {
    "r": 123,
    "g": 145,
    "b": 28
  },
  "hsl": {
    "h": 71.282,
    "s": 67.63,
    "l": 33.922
  },
  "oklch": {
    "l": 0.61819,
    "c": 0.13746,
    "h": 120.3
  },
  "luminance": 0.24546
}

Semantic roles & 50–950 ramp

primary
#7B911C
secondary
#604ABE
accent
#3DEB5E
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7B911C

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

Preview Lab → · Contrast checker → · Palette generator →

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