#7B9031#7B9031

#7B9031 is a mid, vivid yellow-green. Relative luminance 0.244; OKLCH L 61.7% C 0.123 H 120.8°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#7B9031
RGBrgb(123, 144, 49)
HSLhsl(73, 49%, 38%)
HSVhsv(73, 66%, 56%)
CMYKcmyk(14.6%, 0%, 66%, 43.5%)
CIE-LABlab(56.47, -21.56, 46.27)
CIE-LCHlch(56.47, 51.05, 114.99°)
OKLaboklab(61.73% -0.0627 0.1053)
OKLCHoklch(61.73% 0.123 120.8)
XYZxyz(18.6963, 24.3793, 6.6259)
Luminance0.2438 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9031 #463190
analogous
#907531 #7B9031 #4B9031
triadic
#7B9031 #317B90 #90317B
tetradic
#7B9031 #319075 #463190 #90314B
square
#7B9031 #319075 #463190 #90314B
split-complementary
#7B9031 #314B90 #753190
monochromatic
#2D3512 #546221 #7B9031 #A2BE41 #B8CE6E

Accessibility & contrast

On white

3.57
#7B9031 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#7B9031 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B9031
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B9031#FFFFFF#000000##000000
##7B90311.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#998825
Deuteranopia (green-blind)
#968838
Tritanopia (blue-blind)
#82897C
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7b9031;
/* rgb */ color: rgb(123, 144, 49);
/* oklch */ color: oklch(61.7% 0.123 120.8);
Tailwind
colors: {
  custom: {
    50: '#a4b06e',
    500: '#7b9031',
    950: '#000000',
  },
}
SCSS
$custom: #7b9031;
$custom-light: #a4b06e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9031",
  "rgb": {
    "r": 123,
    "g": 144,
    "b": 49
  },
  "hsl": {
    "h": 73.263,
    "s": 49.223,
    "l": 37.843
  },
  "oklch": {
    "l": 0.6173,
    "c": 0.1226,
    "h": 120.8
  },
  "luminance": 0.24379
}

Semantic roles & 50–950 ramp

primary
#7B9031
secondary
#7968B5
accent
#4FD96D
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #7B9031

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

Preview Lab → · Contrast checker → · Palette generator →

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