#7B9D2D#7B9D2D

#7B9D2D is a light, vivid yellow-green. Relative luminance 0.285; OKLCH L 64.9% C 0.142 H 125.0°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#7B9D2D
RGBrgb(123, 157, 45)
HSLhsl(78, 55%, 40%)
HSVhsv(78, 71%, 62%)
CMYKcmyk(21.7%, 0%, 71.3%, 38.4%)
CIE-LABlab(60.35, -28.28, 51.92)
CIE-LCHlch(60.35, 59.12, 118.57°)
OKLaboklab(64.86% -0.0816 0.1166)
OKLCHoklch(64.86% 0.142 125)
XYZxyz(20.6992, 28.5141, 6.8954)
Luminance0.2851 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9D2D #4F2D9D
analogous
#9D872D #7B9D2D #439D2D
triadic
#7B9D2D #2D7B9D #9D2D7B
tetradic
#7B9D2D #2D9D87 #4F2D9D #9D2D43
square
#7B9D2D #2D9D87 #4F2D9D #9D2D43
split-complementary
#7B9D2D #2D439D #872D9D
monochromatic
#303E12 #566D1F #7B9D2D #9EC83F #B6D66F

Accessibility & contrast

On white

3.13
#7B9D2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#7B9D2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B9D2D
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B9D2D#FFFFFF#000000##000000
##7B9D2D1.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6931A
Deuteranopia (green-blind)
#A19137
Tritanopia (blue-blind)
#819587
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7b9d2d;
/* rgb */ color: rgb(123, 157, 45);
/* oklch */ color: oklch(64.9% 0.142 125.0);
Tailwind
colors: {
  custom: {
    50: '#a4ba6d',
    500: '#7b9d2d',
    950: '#000000',
  },
}
SCSS
$custom: #7b9d2d;
$custom-light: #a4ba6d;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9d2d",
  "rgb": {
    "r": 123,
    "g": 157,
    "b": 45
  },
  "hsl": {
    "h": 78.214,
    "s": 55.446,
    "l": 39.608
  },
  "oklch": {
    "l": 0.64857,
    "c": 0.14235,
    "h": 125
  },
  "luminance": 0.28514
}

Semantic roles & 50–950 ramp

primary
#7B9D2D
secondary
#8269BD
accent
#49DF76
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7B9D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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