#7B9E27#7B9E27

#7B9E27 is a light, vivid yellow-green. Relative luminance 0.288; OKLCH L 65.1% C 0.147 H 125.0°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#7B9E27
RGBrgb(123, 158, 39)
HSLhsl(78, 60%, 39%)
HSVhsv(78, 75%, 62%)
CMYKcmyk(22.2%, 0%, 75.3%, 38%)
CIE-LABlab(60.61, -29.11, 54.39)
CIE-LCHlch(60.61, 61.69, 118.16°)
OKLaboklab(65.06% -0.0844 0.1208)
OKLCHoklch(65.06% 0.147 125)
XYZxyz(20.7616, 28.8109, 6.3863)
Luminance0.2881 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9E27 #4A279E
analogous
#9E8527 #7B9E27 #3F9E27
triadic
#7B9E27 #277B9E #9E277B
tetradic
#7B9E27 #279E85 #4A279E #9E273F
square
#7B9E27 #279E85 #4A279E #9E273F
split-complementary
#7B9E27 #273F9E #85279E
monochromatic
#2F3C0F #556D1B #7B9E27 #A0CD35 #B7D966

Accessibility & contrast

On white

3.11
#7B9E27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#7B9E27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B9E27
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B9E27#FFFFFF#000000##000000
##7B9E271.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7930D
Deuteranopia (green-blind)
#A29232
Tritanopia (blue-blind)
#819687
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7b9e27;
/* rgb */ color: rgb(123, 158, 39);
/* oklch */ color: oklch(65.1% 0.147 125.0);
Tailwind
colors: {
  custom: {
    50: '#a5ba6a',
    500: '#7b9e27',
    950: '#000000',
  },
}
SCSS
$custom: #7b9e27;
$custom-light: #a5ba6a;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9e27",
  "rgb": {
    "r": 123,
    "g": 158,
    "b": 39
  },
  "hsl": {
    "h": 77.647,
    "s": 60.406,
    "l": 38.627
  },
  "oklch": {
    "l": 0.65058,
    "c": 0.1474,
    "h": 125
  },
  "luminance": 0.28811
}

Semantic roles & 50–950 ramp

primary
#7B9E27
secondary
#7D62BF
accent
#44E473
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7B9E27

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

Preview Lab → · Contrast checker → · Palette generator →

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