#7B9B2D#7B9B2D

#7B9B2D is a light, vivid yellow-green. Relative luminance 0.278; OKLCH L 64.4% C 0.140 H 124.4°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#7B9B2D
RGBrgb(123, 155, 45)
HSLhsl(77, 55%, 39%)
HSVhsv(77, 71%, 61%)
CMYKcmyk(20.6%, 0%, 71%, 39.2%)
CIE-LABlab(59.75, -27.31, 51.31)
CIE-LCHlch(59.75, 58.13, 118.02°)
OKLaboklab(64.37% -0.079 0.1153)
OKLCHoklch(64.37% 0.14 124.4)
XYZxyz(20.3635, 27.8429, 6.7835)
Luminance0.2784 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9B2D #4D2D9B
analogous
#9B842D #7B9B2D #449B2D
triadic
#7B9B2D #2D7B9B #9B2D7B
tetradic
#7B9B2D #2D9B84 #4D2D9B #9B2D44
square
#7B9B2D #2D9B84 #4D2D9B #9B2D44
split-complementary
#7B9B2D #2D449B #842D9B
monochromatic
#303C11 #556C1F #7B9B2D #9FC73E #B7D56E

Accessibility & contrast

On white

3.20
#7B9B2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#7B9B2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B9B2D
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B9B2D#FFFFFF#000000##000000
##7B9B2D1.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4911B
Deuteranopia (green-blind)
#9F9036
Tritanopia (blue-blind)
#819385
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7b9b2d;
/* rgb */ color: rgb(123, 155, 45);
/* oklch */ color: oklch(64.4% 0.140 124.4);
Tailwind
colors: {
  custom: {
    50: '#a4b86d',
    500: '#7b9b2d',
    950: '#000000',
  },
}
SCSS
$custom: #7b9b2d;
$custom-light: #a4b86d;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9b2d",
  "rgb": {
    "r": 123,
    "g": 155,
    "b": 45
  },
  "hsl": {
    "h": 77.455,
    "s": 55,
    "l": 39.216
  },
  "oklch": {
    "l": 0.64368,
    "c": 0.13979,
    "h": 124.4
  },
  "luminance": 0.27843
}

Semantic roles & 50–950 ramp

primary
#7B9B2D
secondary
#8068BC
accent
#49DE75
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7B9B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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