#7B9151#7B9151

#7B9151 is a light, moderate yellow-green. Relative luminance 0.251; OKLCH L 62.4% C 0.092 H 124.5°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#7B9151
RGBrgb(123, 145, 81)
HSLhsl(81, 28%, 44%)
HSVhsv(81, 44%, 57%)
CMYKcmyk(15.2%, 0%, 44.1%, 43.1%)
CIE-LABlab(57.13, -18.92, 31.34)
CIE-LCHlch(57.13, 36.60, 121.12°)
OKLaboklab(62.38% -0.0523 0.0761)
OKLCHoklch(62.38% 0.092 124.5)
XYZxyz(19.7789, 25.0557, 11.5772)
Luminance0.2506 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9151 #675191
analogous
#918751 #7B9151 #5B9151
triadic
#7B9151 #517B91 #91517B
tetradic
#7B9151 #519187 #675191 #91515B
square
#7B9151 #519187 #675191 #91515B
split-complementary
#7B9151 #515B91 #875191
monochromatic
#384225 #5A6A3B #7B9151 #99AF70 #B5C597

Accessibility & contrast

On white

3.49
#7B9151 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#7B9151 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B9151
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B9151#FFFFFF#000000##000000
##7B91511.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#978A4C
Deuteranopia (green-blind)
#948954
Tritanopia (blue-blind)
#7F8B82
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #7b9151;
/* rgb */ color: rgb(123, 145, 81);
/* oklch */ color: oklch(62.4% 0.092 124.5);
Tailwind
colors: {
  custom: {
    50: '#a2b183',
    500: '#7b9151',
    950: '#000000',
  },
}
SCSS
$custom: #7b9151;
$custom-light: #a2b183;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9151",
  "rgb": {
    "r": 123,
    "g": 145,
    "b": 81
  },
  "hsl": {
    "h": 80.625,
    "s": 28.319,
    "l": 44.314
  },
  "oklch": {
    "l": 0.62382,
    "c": 0.09235,
    "h": 124.5
  },
  "luminance": 0.25056
}

Semantic roles & 50–950 ramp

primary
#7B9151
secondary
#998CB2
accent
#63C585
background
#FAFAF8
surface
#F4F5EF
border
#CECFCA
text
#0F100A
muted
#7F7F7C

Preview Lab

Preview with #7B9151

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

Preview Lab → · Contrast checker → · Palette generator →

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