#7BA117#7BA117

#7BA117 is a light, vivid yellow-green. Relative luminance 0.298; OKLCH L 65.7% C 0.159 H 125.1°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#7BA117
RGBrgb(123, 161, 23)
HSLhsl(77, 75%, 36%)
HSVhsv(77, 86%, 63%)
CMYKcmyk(23.6%, 0%, 85.7%, 36.9%)
CIE-LABlab(61.45, -31.23, 59.85)
CIE-LCHlch(61.45, 67.51, 117.56°)
OKLaboklab(65.71% -0.0913 0.1298)
OKLCHoklch(65.71% 0.159 125.1)
XYZxyz(21.0681, 29.7623, 5.4452)
Luminance0.2976 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA117 #3D17A1
analogous
#A18217 #7BA117 #36A117
triadic
#7BA117 #177BA1 #A1177B
tetradic
#7BA117 #17A182 #3D17A1 #A11736
square
#7BA117 #17A182 #3D17A1 #A11736
split-complementary
#7BA117 #1736A1 #8217A1
monochromatic
#293608 #526B0F #7BA117 #A4D71F #BCE64D

Accessibility & contrast

On white

3.02
#7BA117 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#7BA117 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7BA117
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BA117#FFFFFF#000000##000000
##7BA1171.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9600
Deuteranopia (green-blind)
#A59428
Tritanopia (blue-blind)
#819989
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7ba117;
/* rgb */ color: rgb(123, 161, 23);
/* oklch */ color: oklch(65.7% 0.159 125.1);
Tailwind
colors: {
  custom: {
    50: '#a5bd64',
    500: '#7ba117',
    950: '#000000',
  },
}
SCSS
$custom: #7ba117;
$custom-light: #a5bd64;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba117",
  "rgb": {
    "r": 123,
    "g": 161,
    "b": 23
  },
  "hsl": {
    "h": 76.522,
    "s": 75,
    "l": 36.078
  },
  "oklch": {
    "l": 0.65711,
    "c": 0.15868,
    "h": 125.1
  },
  "luminance": 0.29763
}

Semantic roles & 50–950 ramp

primary
#7BA117
secondary
#6E4CC7
accent
#36F26A
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101206
muted
#7F817A

Preview Lab

Preview with #7BA117

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

Preview Lab → · Contrast checker → · Palette generator →

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