#7B915D#7B915D

#7B915D is a light, moderate yellow-green. Relative luminance 0.253; OKLCH L 62.6% C 0.078 H 127.2°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#7B915D
RGBrgb(123, 145, 93)
HSLhsl(85, 22%, 47%)
HSVhsv(85, 36%, 57%)
CMYKcmyk(15.2%, 0%, 35.9%, 43.1%)
CIE-LABlab(57.32, -17.31, 25.09)
CIE-LCHlch(57.32, 30.48, 124.61°)
OKLaboklab(62.6% -0.0472 0.0622)
OKLCHoklch(62.6% 0.078 127.2)
XYZxyz(20.2693, 25.2519, 14.1600)
Luminance0.2525 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B915D #735D91
analogous
#918D5D #7B915D #61915D
triadic
#7B915D #5D7B91 #915D7B
tetradic
#7B915D #5D918D #735D91 #915D61
square
#7B915D #5D918D #735D91 #915D61
split-complementary
#7B915D #5D6191 #8D5D91
monochromatic
#3C462D #5B6C45 #7B915D #99AD7F #B7C5A4

Accessibility & contrast

On white

3.47
#7B915D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#7B915D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B915D
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B915D#FFFFFF#000000##000000
##7B915D1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#968B59
Deuteranopia (green-blind)
#938960
Tritanopia (blue-blind)
#7E8C84
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7b915d;
/* rgb */ color: rgb(123, 145, 93);
/* oklch */ color: oklch(62.6% 0.078 127.2);
Tailwind
colors: {
  custom: {
    50: '#a2b18b',
    500: '#7b915d',
    950: '#000000',
  },
}
SCSS
$custom: #7b915d;
$custom-light: #a2b18b;
$custom-dark: #000000;
JSON
{
  "hex": "#7b915d",
  "rgb": {
    "r": 123,
    "g": 145,
    "b": 93
  },
  "hsl": {
    "h": 85.385,
    "s": 21.849,
    "l": 46.667
  },
  "oklch": {
    "l": 0.62597,
    "c": 0.07809,
    "h": 127.2
  },
  "luminance": 0.25252
}

Semantic roles & 50–950 ramp

primary
#7B915D
secondary
#A397B3
accent
#69BE8D
background
#FAFAF8
surface
#F3F5F0
border
#CDCFCB
text
#0F100C
muted
#7F7F7D

Preview Lab

Preview with #7B915D

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

Preview Lab → · Contrast checker → · Palette generator →

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