#7BA42D#7BA42D

#7BA42D is a light, vivid yellow-green. Relative luminance 0.310; OKLCH L 66.6% C 0.151 H 126.9°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#7BA42D
RGBrgb(123, 164, 45)
HSLhsl(81, 57%, 41%)
HSVhsv(81, 73%, 64%)
CMYKcmyk(25%, 0%, 72.6%, 35.7%)
CIE-LABlab(62.47, -31.60, 54.03)
CIE-LCHlch(62.47, 62.60, 120.32°)
OKLaboklab(66.57% -0.0908 0.121)
OKLCHoklch(66.57% 0.151 126.9)
XYZxyz(21.9176, 30.9509, 7.3015)
Luminance0.3095 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA42D #562DA4
analogous
#A4912D #7BA42D #3FA42D
triadic
#7BA42D #2D7BA4 #A42D7B
tetradic
#7BA42D #2DA491 #562DA4 #A42D3F
square
#7BA42D #2DA491 #562DA4 #A42D3F
split-complementary
#7BA42D #2D3FA4 #912DA4
monochromatic
#334413 #577420 #7BA42D #9CCB43 #B6D973

Accessibility & contrast

On white

2.92
#7BA42D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#7BA42D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BA42D
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BA42D#FFFFFF#000000##000000
##7BA42D1.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9918
Deuteranopia (green-blind)
#A79638
Tritanopia (blue-blind)
#809C8D
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7ba42d;
/* rgb */ color: rgb(123, 164, 45);
/* oklch */ color: oklch(66.6% 0.151 126.9);
Tailwind
colors: {
  custom: {
    50: '#a5bf6e',
    500: '#7ba42d',
    950: '#000000',
  },
}
SCSS
$custom: #7ba42d;
$custom-light: #a5bf6e;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba42d",
  "rgb": {
    "r": 123,
    "g": 164,
    "b": 45
  },
  "hsl": {
    "h": 80.672,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.66571,
    "c": 0.15129,
    "h": 126.9
  },
  "luminance": 0.30951
}

Semantic roles & 50–950 ramp

primary
#7BA42D
secondary
#896DC0
accent
#48E07C
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101208
muted
#7F817B

Preview Lab

Preview with #7BA42D

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

Preview Lab → · Contrast checker → · Palette generator →

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