#7B883C#7B883C

#7B883C is a mid, moderate yellow-green. Relative luminance 0.221; OKLCH L 59.9% C 0.102 H 117.7°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#7B883C
RGBrgb(123, 136, 60)
HSLhsl(70, 39%, 38%)
HSVhsv(70, 56%, 53%)
CMYKcmyk(9.6%, 0%, 55.9%, 46.7%)
CIE-LABlab(54.18, -16.50, 38.61)
CIE-LCHlch(54.18, 41.99, 113.14°)
OKLaboklab(59.93% -0.0474 0.0904)
OKLCHoklch(59.93% 0.102 117.7)
XYZxyz(17.7884, 22.1457, 7.6115)
Luminance0.2215 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B883C #493C88
analogous
#886F3C #7B883C #55883C
triadic
#7B883C #3C7B88 #883C7B
tetradic
#7B883C #3C886F #493C88 #883C55
square
#7B883C #3C886F #493C88 #883C55
split-complementary
#7B883C #3C5588 #6F3C88
monochromatic
#2E3317 #555E29 #7B883C #A1B250 #B8C47A

Accessibility & contrast

On white

3.87
#7B883C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#7B883C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B883C
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B883C#FFFFFF#000000##000000
##7B883C1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#908134
Deuteranopia (green-blind)
#8F8240
Tritanopia (blue-blind)
#828177
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7b883c;
/* rgb */ color: rgb(123, 136, 60);
/* oklch */ color: oklch(59.9% 0.102 117.7);
Tailwind
colors: {
  custom: {
    50: '#a3aa74',
    500: '#7b883c',
    950: '#000000',
  },
}
SCSS
$custom: #7b883c;
$custom-light: #a3aa74;
$custom-dark: #000000;
JSON
{
  "hex": "#7b883c",
  "rgb": {
    "r": 123,
    "g": 136,
    "b": 60
  },
  "hsl": {
    "h": 70.263,
    "s": 38.776,
    "l": 38.431
  },
  "oklch": {
    "l": 0.5993,
    "c": 0.10212,
    "h": 117.7
  },
  "luminance": 0.22146
}

Semantic roles & 50–950 ramp

primary
#7B883C
secondary
#7C72AE
accent
#59CF6D
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F1008
muted
#7F7F7B

Preview Lab

Preview with #7B883C

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

Preview Lab → · Contrast checker → · Palette generator →

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