#7B9124#7B9124

#7B9124 is a mid, vivid yellow-green. Relative luminance 0.246; OKLCH L 61.9% C 0.133 H 120.6°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#7B9124
RGBrgb(123, 145, 36)
HSLhsl(72, 60%, 35%)
HSVhsv(72, 75%, 57%)
CMYKcmyk(15.2%, 0%, 75.2%, 43.1%)
CIE-LABlab(56.67, -22.89, 51.66)
CIE-LCHlch(56.67, 56.51, 113.90°)
OKLaboklab(61.87% -0.0676 0.1146)
OKLCHoklch(61.87% 0.133 120.6)
XYZxyz(18.6125, 24.5892, 5.4344)
Luminance0.2459 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9124 #3A2491
analogous
#917024 #7B9124 #449124
triadic
#7B9124 #247B91 #91247B
tetradic
#7B9124 #249170 #3A2491 #912444
square
#7B9124 #249170 #3A2491 #912444
split-complementary
#7B9124 #244491 #702491
monochromatic
#282F0C #516018 #7B9124 #A5C230 #BDD659

Accessibility & contrast

On white

3.55
#7B9124 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#7B9124 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B9124
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B9124#FFFFFF#000000##000000
##7B91241.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A880D
Deuteranopia (green-blind)
#98882E
Tritanopia (blue-blind)
#82897C
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #7b9124;
/* rgb */ color: rgb(123, 145, 36);
/* oklch */ color: oklch(61.9% 0.133 120.6);
Tailwind
colors: {
  custom: {
    50: '#a4b167',
    500: '#7b9124',
    950: '#000000',
  },
}
SCSS
$custom: #7b9124;
$custom-light: #a4b167;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9124",
  "rgb": {
    "r": 123,
    "g": 145,
    "b": 36
  },
  "hsl": {
    "h": 72.11,
    "s": 60.221,
    "l": 35.49
  },
  "oklch": {
    "l": 0.61868,
    "c": 0.13305,
    "h": 120.6
  },
  "luminance": 0.24589
}

Semantic roles & 50–950 ramp

primary
#7B9124
secondary
#6B56BA
accent
#44E365
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7B9124

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

Preview Lab → · Contrast checker → · Palette generator →

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