#7BA12D#7BA12D

#7BA12D is a light, vivid yellow-green. Relative luminance 0.299; OKLCH L 65.8% C 0.147 H 126.1°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#7BA12D
RGBrgb(123, 161, 45)
HSLhsl(80, 56%, 40%)
HSVhsv(80, 72%, 63%)
CMYKcmyk(23.6%, 0%, 72%, 36.9%)
CIE-LABlab(61.56, -30.19, 53.13)
CIE-LCHlch(61.56, 61.11, 119.61°)
OKLaboklab(65.83% -0.0869 0.1191)
OKLCHoklch(65.83% 0.147 126.1)
XYZxyz(21.3870, 29.8898, 7.1247)
Luminance0.2989 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA12D #532DA1
analogous
#A18D2D #7BA12D #41A12D
triadic
#7BA12D #2D7BA1 #A12D7B
tetradic
#7BA12D #2DA18D #532DA1 #A12D41
square
#7BA12D #2DA18D #532DA1 #A12D41
split-complementary
#7BA12D #2D41A1 #8D2DA1
monochromatic
#324112 #567120 #7BA12D #9DCA41 #B6D771

Accessibility & contrast

On white

3.01
#7BA12D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#7BA12D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7BA12D
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BA12D#FFFFFF#000000##000000
##7BA12D1.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9619
Deuteranopia (green-blind)
#A49437
Tritanopia (blue-blind)
#80998A
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7ba12d;
/* rgb */ color: rgb(123, 161, 45);
/* oklch */ color: oklch(65.8% 0.147 126.1);
Tailwind
colors: {
  custom: {
    50: '#a5bd6e',
    500: '#7ba12d',
    950: '#000000',
  },
}
SCSS
$custom: #7ba12d;
$custom-light: #a5bd6e;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba12d",
  "rgb": {
    "r": 123,
    "g": 161,
    "b": 45
  },
  "hsl": {
    "h": 79.655,
    "s": 56.311,
    "l": 40.392
  },
  "oklch": {
    "l": 0.65835,
    "c": 0.14747,
    "h": 126.1
  },
  "luminance": 0.2989
}

Semantic roles & 50–950 ramp

primary
#7BA12D
secondary
#866BBF
accent
#48E07A
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101208
muted
#7F817B

Preview Lab

Preview with #7BA12D

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

Preview Lab → · Contrast checker → · Palette generator →

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