#7BAF3A#7BAF3A

#7BAF3A is a light, vivid yellow-green. Relative luminance 0.352; OKLCH L 69.4% C 0.157 H 130.2°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#7BAF3A
RGBrgb(123, 175, 58)
HSLhsl(87, 50%, 46%)
HSVhsv(87, 67%, 69%)
CMYKcmyk(29.7%, 0%, 66.9%, 31.4%)
CIE-LABlab(65.89, -35.78, 52.43)
CIE-LCHlch(65.89, 63.48, 124.31°)
OKLaboklab(69.38% -0.1011 0.1196)
OKLCHoklch(69.38% 0.157 130.2)
XYZxyz(24.2619, 35.1757, 9.5135)
Luminance0.3518 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BAF3A #6E3AAF
analogous
#AFA93A #7BAF3A #40AF3A
triadic
#7BAF3A #3A7BAF #AF3A7B
tetradic
#7BAF3A #3AAFA9 #6E3AAF #AF3A40
square
#7BAF3A #3AAFA9 #6E3AAF #AF3A40
split-complementary
#7BAF3A #3A40AF #A93AAF
monochromatic
#3A531C #5B812B #7BAF3A #99C95D #B6D98B

Accessibility & contrast

On white

2.61
#7BAF3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#7BAF3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BAF3A
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BAF3A#FFFFFF#000000##000000
##7BAF3A1.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A32A
Deuteranopia (green-blind)
#B09F44
Tritanopia (blue-blind)
#7EA897
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #7baf3a;
/* rgb */ color: rgb(123, 175, 58);
/* oklch */ color: oklch(69.4% 0.157 130.2);
Tailwind
colors: {
  custom: {
    50: '#a5c776',
    500: '#7baf3a',
    950: '#000000',
  },
}
SCSS
$custom: #7baf3a;
$custom-light: #a5c776;
$custom-dark: #000000;
JSON
{
  "hex": "#7baf3a",
  "rgb": {
    "r": 123,
    "g": 175,
    "b": 58
  },
  "hsl": {
    "h": 86.667,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.69377,
    "c": 0.15658,
    "h": 130.2
  },
  "luminance": 0.35176
}

Semantic roles & 50–950 ramp

primary
#7BAF3A
secondary
#9F82C3
accent
#4EDA8C
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101309
muted
#7F827B

Preview Lab

Preview with #7BAF3A

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

Preview Lab → · Contrast checker → · Palette generator →

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