#7B8F55#7B8F55

#7B8F55 is a mid, moderate yellow-green. Relative luminance 0.245; OKLCH L 62.0% C 0.085 H 124.3°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#7B8F55
RGBrgb(123, 143, 85)
HSLhsl(81, 25%, 45%)
HSVhsv(81, 41%, 56%)
CMYKcmyk(14%, 0%, 40.6%, 43.9%)
CIE-LABlab(56.60, -17.36, 28.51)
CIE-LCHlch(56.60, 33.38, 121.34°)
OKLaboklab(61.98% -0.0477 0.0699)
OKLCHoklch(61.98% 0.085 124.3)
XYZxyz(19.6304, 24.5117, 12.2896)
Luminance0.2451 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B8F55 #69558F
analogous
#8F8655 #7B8F55 #5E8F55
triadic
#7B8F55 #557B8F #8F557B
tetradic
#7B8F55 #558F86 #69558F #8F555E
square
#7B8F55 #558F86 #69558F #8F555E
split-complementary
#7B8F55 #555E8F #86558F
monochromatic
#394227 #5A693E #7B8F55 #99AD75 #B6C49B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B8F55#FFFFFF#000000##000000
##7B8F551.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)
#958851
Deuteranopia (green-blind)
#928858
Tritanopia (blue-blind)
#7F8A81
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #7b8f55;
/* rgb */ color: rgb(123, 143, 85);
/* oklch */ color: oklch(62.0% 0.085 124.3);
Tailwind
colors: {
  custom: {
    50: '#a2af86',
    500: '#7b8f55',
    950: '#000000',
  },
}
SCSS
$custom: #7b8f55;
$custom-light: #a2af86;
$custom-dark: #000000;
JSON
{
  "hex": "#7b8f55",
  "rgb": {
    "r": 123,
    "g": 143,
    "b": 85
  },
  "hsl": {
    "h": 80.69,
    "s": 25.439,
    "l": 44.706
  },
  "oklch": {
    "l": 0.61975,
    "c": 0.0846,
    "h": 124.3
  },
  "luminance": 0.24512
}

Semantic roles & 50–950 ramp

primary
#7B8F55
secondary
#9B8FB1
accent
#66C286
background
#FAFAF8
surface
#F3F4EF
border
#CDCECA
text
#0F100B
muted
#7F7F7C

Preview Lab

Preview with #7B8F55

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

Preview Lab → · Contrast checker → · Palette generator →

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