#7BAB2D#7BAB2D

#7BAB2D is a light, vivid yellow-green. Relative luminance 0.335; OKLCH L 68.3% C 0.160 H 128.5°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#7BAB2D
RGBrgb(123, 171, 45)
HSLhsl(83, 58%, 42%)
HSVhsv(83, 74%, 67%)
CMYKcmyk(28.1%, 0%, 73.7%, 32.9%)
CIE-LABlab(64.58, -34.85, 56.12)
CIE-LCHlch(64.58, 66.06, 121.84°)
OKLaboklab(68.29% -0.0996 0.1254)
OKLCHoklch(68.29% 0.16 128.5)
XYZxyz(23.2049, 33.5257, 7.7306)
Luminance0.3353 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BAB2D #5D2DAB
analogous
#AB9C2D #7BAB2D #3CAB2D
triadic
#7BAB2D #2D7BAB #AB2D7B
tetradic
#7BAB2D #2DAB9C #5D2DAB #AB2D3C
square
#7BAB2D #2DAB9C #5D2DAB #AB2D3C
split-complementary
#7BAB2D #2D3CAB #9C2DAB
monochromatic
#354A14 #587B20 #7BAB2D #9BCE47 #B5DB77

Accessibility & contrast

On white

2.73
#7BAB2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#7BAB2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BAB2D
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BAB2D#FFFFFF#000000##000000
##7BAB2D1.002.737.717.71
#FFFFFF2.731.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F14
Deuteranopia (green-blind)
#AD9C39
Tritanopia (blue-blind)
#7FA393
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #7bab2d;
/* rgb */ color: rgb(123, 171, 45);
/* oklch */ color: oklch(68.3% 0.160 128.5);
Tailwind
colors: {
  custom: {
    50: '#a5c46f',
    500: '#7bab2d',
    950: '#000000',
  },
}
SCSS
$custom: #7bab2d;
$custom-light: #a5c46f;
$custom-dark: #000000;
JSON
{
  "hex": "#7bab2d",
  "rgb": {
    "r": 123,
    "g": 171,
    "b": 45
  },
  "hsl": {
    "h": 82.857,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.6829,
    "c": 0.16016,
    "h": 128.5
  },
  "luminance": 0.33526
}

Semantic roles & 50–950 ramp

primary
#7BAB2D
secondary
#9071C3
accent
#46E281
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7BAB2D

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

Preview Lab → · Contrast checker → · Palette generator →

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