#7BA92F#7BA92F

#7BA92F is a light, vivid yellow-green. Relative luminance 0.328; OKLCH L 67.8% C 0.156 H 128.2°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#7BA92F
RGBrgb(123, 169, 47)
HSLhsl(83, 56%, 42%)
HSVhsv(83, 72%, 66%)
CMYKcmyk(27.2%, 0%, 72.2%, 33.7%)
CIE-LABlab(63.99, -33.81, 54.81)
CIE-LCHlch(63.99, 64.39, 121.67°)
OKLaboklab(67.81% -0.0966 0.123)
OKLCHoklch(67.81% 0.156 128.2)
XYZxyz(22.8694, 32.7916, 7.8133)
Luminance0.3279 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA92F #5D2FA9
analogous
#A99A2F #7BA92F #3EA92F
triadic
#7BA92F #2F7BA9 #A92F7B
tetradic
#7BA92F #2FA99A #5D2FA9 #A92F3E
square
#7BA92F #2FA99A #5D2FA9 #A92F3E
split-complementary
#7BA92F #2F3EA9 #9A2FA9
monochromatic
#354914 #587922 #7BA92F #9BCC49 #B5DA79

Accessibility & contrast

On white

2.78
#7BA92F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#7BA92F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BA92F
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BA92F#FFFFFF#000000##000000
##7BA92F1.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D1A
Deuteranopia (green-blind)
#AB9A3A
Tritanopia (blue-blind)
#7FA191
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #7ba92f;
/* rgb */ color: rgb(123, 169, 47);
/* oklch */ color: oklch(67.8% 0.156 128.2);
Tailwind
colors: {
  custom: {
    50: '#a5c270',
    500: '#7ba92f',
    950: '#000000',
  },
}
SCSS
$custom: #7ba92f;
$custom-light: #a5c270;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba92f",
  "rgb": {
    "r": 123,
    "g": 169,
    "b": 47
  },
  "hsl": {
    "h": 82.623,
    "s": 56.481,
    "l": 42.353
  },
  "oklch": {
    "l": 0.67813,
    "c": 0.15639,
    "h": 128.2
  },
  "luminance": 0.32792
}

Semantic roles & 50–950 ramp

primary
#7BA92F
secondary
#9072C2
accent
#48E081
background
#FAFBF7
surface
#F4F7ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7BA92F

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

Preview Lab → · Contrast checker → · Palette generator →

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