#7BAB38#7BAB38

#7BAB38 is a light, vivid yellow-green. Relative luminance 0.336; OKLCH L 68.4% C 0.153 H 129.3°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#7BAB38
RGBrgb(123, 171, 56)
HSLhsl(85, 51%, 45%)
HSVhsv(85, 67%, 67%)
CMYKcmyk(28.1%, 0%, 67.3%, 32.9%)
CIE-LABlab(64.66, -34.10, 51.97)
CIE-LCHlch(64.66, 62.16, 123.28°)
OKLaboklab(68.38% -0.0967 0.1183)
OKLCHoklch(68.38% 0.153 129.3)
XYZxyz(23.4450, 33.6217, 8.9950)
Luminance0.3362 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BAB38 #6838AB
analogous
#ABA138 #7BAB38 #42AB38
triadic
#7BAB38 #387BAB #AB387B
tetradic
#7BAB38 #38ABA1 #6838AB #AB3842
square
#7BAB38 #38ABA1 #6838AB #AB3842
split-complementary
#7BAB38 #3842AB #A138AB
monochromatic
#394F1A #5A7D29 #7BAB38 #99C858 #B5D786

Accessibility & contrast

On white

2.72
#7BAB38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#7BAB38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BAB38
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BAB38#FFFFFF#000000##000000
##7BAB381.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F28
Deuteranopia (green-blind)
#AC9C41
Tritanopia (blue-blind)
#7EA494
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #7bab38;
/* rgb */ color: rgb(123, 171, 56);
/* oklch */ color: oklch(68.4% 0.153 129.3);
Tailwind
colors: {
  custom: {
    50: '#a5c475',
    500: '#7bab38',
    950: '#000000',
  },
}
SCSS
$custom: #7bab38;
$custom-light: #a5c475;
$custom-dark: #000000;
JSON
{
  "hex": "#7bab38",
  "rgb": {
    "r": 123,
    "g": 171,
    "b": 56
  },
  "hsl": {
    "h": 85.043,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.68377,
    "c": 0.1528,
    "h": 129.3
  },
  "luminance": 0.33622
}

Semantic roles & 50–950 ramp

primary
#7BAB38
secondary
#9A7DC1
accent
#4EDA88
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101209
muted
#7F817B

Preview Lab

Preview with #7BAB38

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

Preview Lab → · Contrast checker → · Palette generator →

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