#7B8F58#7B8F58

#7B8F58 is a light, moderate yellow-green. Relative luminance 0.246; OKLCH L 62.0% C 0.081 H 125.0°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#7B8F58
RGBrgb(123, 143, 88)
HSLhsl(82, 24%, 45%)
HSVhsv(82, 38%, 56%)
CMYKcmyk(14%, 0%, 38.5%, 43.9%)
CIE-LABlab(56.64, -16.96, 26.94)
CIE-LCHlch(56.64, 31.84, 122.19°)
OKLaboklab(62.03% -0.0464 0.0664)
OKLCHoklch(62.03% 0.081 125)
XYZxyz(19.7521, 24.5603, 12.9306)
Luminance0.2456 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B8F58 #6C588F
analogous
#8F8758 #7B8F58 #5F8F58
triadic
#7B8F58 #587B8F #8F587B
tetradic
#7B8F58 #588F87 #6C588F #8F585F
square
#7B8F58 #588F87 #6C588F #8F585F
split-complementary
#7B8F58 #585F8F #87588F
monochromatic
#3A4329 #5A6941 #7B8F58 #99AC78 #B6C39E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B8F58#FFFFFF#000000##000000
##7B8F581.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)
#958954
Deuteranopia (green-blind)
#92885B
Tritanopia (blue-blind)
#7E8A81
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #7b8f58;
/* rgb */ color: rgb(123, 143, 88);
/* oklch */ color: oklch(62.0% 0.081 125.0);
Tailwind
colors: {
  custom: {
    50: '#a2af88',
    500: '#7b8f58',
    950: '#000000',
  },
}
SCSS
$custom: #7b8f58;
$custom-light: #a2af88;
$custom-dark: #000000;
JSON
{
  "hex": "#7b8f58",
  "rgb": {
    "r": 123,
    "g": 143,
    "b": 88
  },
  "hsl": {
    "h": 81.818,
    "s": 23.81,
    "l": 45.294
  },
  "oklch": {
    "l": 0.62029,
    "c": 0.08099,
    "h": 125
  },
  "luminance": 0.2456
}

Semantic roles & 50–950 ramp

primary
#7B8F58
secondary
#9D92B1
accent
#68C088
background
#FAFAF8
surface
#F3F4EF
border
#CDCECA
text
#0F100B
muted
#7F7F7C

Preview Lab

Preview with #7B8F58

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

Preview Lab → · Contrast checker → · Palette generator →

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