#7B8A34#7B8A34

#7B8A34 is a mid, moderate yellow-green. Relative luminance 0.226; OKLCH L 60.3% C 0.112 H 118.3°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#7B8A34
RGBrgb(123, 138, 52)
HSLhsl(70, 45%, 37%)
HSVhsv(70, 62%, 54%)
CMYKcmyk(10.9%, 0%, 62.3%, 45.9%)
CIE-LABlab(54.70, -18.25, 43.03)
CIE-LCHlch(54.70, 46.73, 112.98°)
OKLaboklab(60.32% -0.0532 0.0989)
OKLCHoklch(60.32% 0.112 118.3)
XYZxyz(17.8770, 22.6360, 6.6756)
Luminance0.2264 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B8A34 #43348A
analogous
#8A6E34 #7B8A34 #508A34
triadic
#7B8A34 #347B8A #8A347B
tetradic
#7B8A34 #348A6E #43348A #8A3450
square
#7B8A34 #348A6E #43348A #8A3450
split-complementary
#7B8A34 #34508A #6E348A
monochromatic
#2C3113 #535E23 #7B8A34 #A3B645 #B9C96F

Accessibility & contrast

On white

3.80
#7B8A34 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#7B8A34 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B8A34
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B8A34#FFFFFF#000000##000000
##7B8A341.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#93832A
Deuteranopia (green-blind)
#91833A
Tritanopia (blue-blind)
#828378
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7b8a34;
/* rgb */ color: rgb(123, 138, 52);
/* oklch */ color: oklch(60.3% 0.112 118.3);
Tailwind
colors: {
  custom: {
    50: '#a3ac6f',
    500: '#7b8a34',
    950: '#000000',
  },
}
SCSS
$custom: #7b8a34;
$custom-light: #a3ac6f;
$custom-dark: #000000;
JSON
{
  "hex": "#7b8a34",
  "rgb": {
    "r": 123,
    "g": 138,
    "b": 52
  },
  "hsl": {
    "h": 70.465,
    "s": 45.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.60316,
    "c": 0.11228,
    "h": 118.3
  },
  "luminance": 0.22636
}

Semantic roles & 50–950 ramp

primary
#7B8A34
secondary
#7569B1
accent
#53D56A
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F1008
muted
#7F7F7B

Preview Lab

Preview with #7B8A34

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

Preview Lab → · Contrast checker → · Palette generator →

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