#7BAA2D#7BAA2D

#7BAA2D is a light, vivid yellow-green. Relative luminance 0.332; OKLCH L 68.0% C 0.159 H 128.3°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#7BAA2D
RGBrgb(123, 170, 45)
HSLhsl(83, 58%, 42%)
HSVhsv(83, 74%, 67%)
CMYKcmyk(27.6%, 0%, 73.5%, 33.3%)
CIE-LABlab(64.28, -34.39, 55.83)
CIE-LCHlch(64.28, 65.57, 121.63°)
OKLaboklab(68.04% -0.0984 0.1248)
OKLCHoklch(68.04% 0.159 128.3)
XYZxyz(23.0168, 33.1493, 7.6679)
Luminance0.3315 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BAA2D #5C2DAA
analogous
#AA9B2D #7BAA2D #3CAA2D
triadic
#7BAA2D #2D7BAA #AA2D7B
tetradic
#7BAA2D #2DAA9B #5C2DAA #AA2D3C
square
#7BAA2D #2DAA9B #5C2DAA #AA2D3C
split-complementary
#7BAA2D #2D3CAA #9B2DAA
monochromatic
#354913 #587A20 #7BAA2D #9BCE46 #B5DB77

Accessibility & contrast

On white

2.75
#7BAA2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#7BAA2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BAA2D
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BAA2D#FFFFFF#000000##000000
##7BAA2D1.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E15
Deuteranopia (green-blind)
#AC9B39
Tritanopia (blue-blind)
#7FA292
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7baa2d;
/* rgb */ color: rgb(123, 170, 45);
/* oklch */ color: oklch(68.0% 0.159 128.3);
Tailwind
colors: {
  custom: {
    50: '#a5c36f',
    500: '#7baa2d',
    950: '#000000',
  },
}
SCSS
$custom: #7baa2d;
$custom-light: #a5c36f;
$custom-dark: #000000;
JSON
{
  "hex": "#7baa2d",
  "rgb": {
    "r": 123,
    "g": 170,
    "b": 45
  },
  "hsl": {
    "h": 82.56,
    "s": 58.14,
    "l": 42.157
  },
  "oklch": {
    "l": 0.68044,
    "c": 0.15891,
    "h": 128.3
  },
  "luminance": 0.3315
}

Semantic roles & 50–950 ramp

primary
#7BAA2D
secondary
#8F70C3
accent
#46E181
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7BAA2D

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

Preview Lab → · Contrast checker → · Palette generator →

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