#7B9130#7B9130

#7B9130 is a mid, vivid yellow-green. Relative luminance 0.247; OKLCH L 62.0% C 0.125 H 121.1°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#7B9130
RGBrgb(123, 145, 48)
HSLhsl(74, 50%, 38%)
HSVhsv(74, 67%, 57%)
CMYKcmyk(15.2%, 0%, 66.9%, 43.1%)
CIE-LABlab(56.76, -22.14, 47.01)
CIE-LCHlch(56.76, 51.97, 115.22°)
OKLaboklab(61.96% -0.0644 0.1068)
OKLCHoklch(61.96% 0.125 121.1)
XYZxyz(18.8275, 24.6752, 6.5666)
Luminance0.2467 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9130 #463091
analogous
#917630 #7B9130 #4B9130
triadic
#7B9130 #307B91 #91307B
tetradic
#7B9130 #309176 #463091 #91304B
square
#7B9130 #309176 #463091 #91304B
split-complementary
#7B9130 #304B91 #763091
monochromatic
#2D3512 #546321 #7B9130 #A2BF3F #B8CF6D

Accessibility & contrast

On white

3.54
#7B9130 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#7B9130 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B9130
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B9130#FFFFFF#000000##000000
##7B91301.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8923
Deuteranopia (green-blind)
#978837
Tritanopia (blue-blind)
#828A7D
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #7b9130;
/* rgb */ color: rgb(123, 145, 48);
/* oklch */ color: oklch(62.0% 0.125 121.1);
Tailwind
colors: {
  custom: {
    50: '#a4b16e',
    500: '#7b9130',
    950: '#000000',
  },
}
SCSS
$custom: #7b9130;
$custom-light: #a4b16e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9130",
  "rgb": {
    "r": 123,
    "g": 145,
    "b": 48
  },
  "hsl": {
    "h": 73.608,
    "s": 50.259,
    "l": 37.843
  },
  "oklch": {
    "l": 0.61963,
    "c": 0.12469,
    "h": 121.1
  },
  "luminance": 0.24675
}

Semantic roles & 50–950 ramp

primary
#7B9130
secondary
#7967B6
accent
#4EDA6E
background
#FAFAF6
surface
#F4F5EC
border
#CECFC7
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #7B9130

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

Preview Lab → · Contrast checker → · Palette generator →

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