#7B9A2D#7B9A2D

#7B9A2D is a light, vivid yellow-green. Relative luminance 0.275; OKLCH L 64.1% C 0.139 H 124.1°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#7B9A2D
RGBrgb(123, 154, 45)
HSLhsl(77, 55%, 39%)
HSVhsv(77, 71%, 60%)
CMYKcmyk(20.1%, 0%, 70.8%, 39.6%)
CIE-LABlab(59.44, -26.82, 51.01)
CIE-LCHlch(59.44, 57.63, 117.74°)
OKLaboklab(64.12% -0.0776 0.1147)
OKLCHoklch(64.12% 0.139 124.1)
XYZxyz(20.1978, 27.5115, 6.7283)
Luminance0.2751 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9A2D #4C2D9A
analogous
#9A832D #7B9A2D #459A2D
triadic
#7B9A2D #2D7B9A #9A2D7B
tetradic
#7B9A2D #2D9A83 #4C2D9A #9A2D45
square
#7B9A2D #2D9A83 #4C2D9A #9A2D45
split-complementary
#7B9A2D #2D459A #832D9A
monochromatic
#2F3B11 #556B1F #7B9A2D #A0C73E #B7D46D

Accessibility & contrast

On white

3.23
#7B9A2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#7B9A2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B9A2D
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B9A2D#FFFFFF#000000##000000
##7B9A2D1.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3901C
Deuteranopia (green-blind)
#9F8F36
Tritanopia (blue-blind)
#819284
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7b9a2d;
/* rgb */ color: rgb(123, 154, 45);
/* oklch */ color: oklch(64.1% 0.139 124.1);
Tailwind
colors: {
  custom: {
    50: '#a4b76d',
    500: '#7b9a2d',
    950: '#000000',
  },
}
SCSS
$custom: #7b9a2d;
$custom-light: #a4b76d;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9a2d",
  "rgb": {
    "r": 123,
    "g": 154,
    "b": 45
  },
  "hsl": {
    "h": 77.064,
    "s": 54.774,
    "l": 39.02
  },
  "oklch": {
    "l": 0.64124,
    "c": 0.1385,
    "h": 124.1
  },
  "luminance": 0.27512
}

Semantic roles & 50–950 ramp

primary
#7B9A2D
secondary
#7F67BB
accent
#4ADE74
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7B9A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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