#7BAF2A#7BAF2A

#7BAF2A is a light, vivid yellow-green. Relative luminance 0.350; OKLCH L 69.3% C 0.167 H 129.1°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#7BAF2A
RGBrgb(123, 175, 42)
HSLhsl(83, 61%, 43%)
HSVhsv(83, 76%, 69%)
CMYKcmyk(29.7%, 0%, 76%, 31.4%)
CIE-LABlab(65.78, -36.83, 58.31)
CIE-LCHlch(65.78, 68.97, 122.27°)
OKLaboklab(69.26% -0.1052 0.1295)
OKLCHoklch(69.26% 0.167 129.1)
XYZxyz(23.9162, 35.0374, 7.6929)
Luminance0.3504 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BAF2A #5E2AAF
analogous
#AFA12A #7BAF2A #38AF2A
triadic
#7BAF2A #2A7BAF #AF2A7B
tetradic
#7BAF2A #2AAFA1 #5E2AAF #AF2A38
square
#7BAF2A #2AAFA1 #5E2AAF #AF2A38
split-complementary
#7BAF2A #2A38AF #A12AAF
monochromatic
#364C12 #587E1E #7BAF2A #9BD244 #B5DE75

Accessibility & contrast

On white

2.62
#7BAF2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#7BAF2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BAF2A
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BAF2A#FFFFFF#000000##000000
##7BAF2A1.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A20A
Deuteranopia (green-blind)
#B09F37
Tritanopia (blue-blind)
#7FA796
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #7baf2a;
/* rgb */ color: rgb(123, 175, 42);
/* oklch */ color: oklch(69.3% 0.167 129.1);
Tailwind
colors: {
  custom: {
    50: '#a5c76e',
    500: '#7baf2a',
    950: '#000000',
  },
}
SCSS
$custom: #7baf2a;
$custom-light: #a5c76e;
$custom-dark: #000000;
JSON
{
  "hex": "#7baf2a",
  "rgb": {
    "r": 123,
    "g": 175,
    "b": 42
  },
  "hsl": {
    "h": 83.459,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.69255,
    "c": 0.16691,
    "h": 129.1
  },
  "luminance": 0.35038
}

Semantic roles & 50–950 ramp

primary
#7BAF2A
secondary
#916FC6
accent
#43E482
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101308
muted
#7F827B

Preview Lab

Preview with #7BAF2A

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

Preview Lab → · Contrast checker → · Palette generator →

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