#7BA12F#7BA12F

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

Color values

HEX#7BA12F
RGBrgb(123, 161, 47)
HSLhsl(80, 55%, 41%)
HSVhsv(80, 71%, 63%)
CMYKcmyk(23.6%, 0%, 70.8%, 36.9%)
CIE-LABlab(61.57, -30.06, 52.38)
CIE-LCHlch(61.57, 60.39, 119.85°)
OKLaboklab(65.85% -0.0864 0.1179)
OKLCHoklch(65.85% 0.146 126.2)
XYZxyz(21.4264, 29.9056, 7.3323)
Luminance0.2991 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA12F #552FA1
analogous
#A18E2F #7BA12F #42A12F
triadic
#7BA12F #2F7BA1 #A12F7B
tetradic
#7BA12F #2FA18E #552FA1 #A12F42
square
#7BA12F #2FA18E #552FA1 #A12F42
split-complementary
#7BA12F #2F42A1 #8E2FA1
monochromatic
#334213 #577221 #7BA12F #9DC945 #B6D674

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7BA12F#FFFFFF#000000##000000
##7BA12F1.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)
#AA961D
Deuteranopia (green-blind)
#A49439
Tritanopia (blue-blind)
#80998A
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7ba12f;
/* rgb */ color: rgb(123, 161, 47);
/* oklch */ color: oklch(65.9% 0.146 126.2);
Tailwind
colors: {
  custom: {
    50: '#a4bd6f',
    500: '#7ba12f',
    950: '#000000',
  },
}
SCSS
$custom: #7ba12f;
$custom-light: #a4bd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba12f",
  "rgb": {
    "r": 123,
    "g": 161,
    "b": 47
  },
  "hsl": {
    "h": 80,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.65851,
    "c": 0.14613,
    "h": 126.2
  },
  "luminance": 0.29906
}

Semantic roles & 50–950 ramp

primary
#7BA12F
secondary
#886EBE
accent
#4ADE7B
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101208
muted
#7F817B

Preview Lab

Preview with #7BA12F

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

Preview Lab → · Contrast checker → · Palette generator →

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