#7BA827#7BA827

#7BA827 is a light, vivid yellow-green. Relative luminance 0.324; OKLCH L 67.5% C 0.160 H 127.5°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#7BA827
RGBrgb(123, 168, 39)
HSLhsl(81, 62%, 41%)
HSVhsv(81, 77%, 66%)
CMYKcmyk(26.8%, 0%, 76.8%, 34.1%)
CIE-LABlab(63.64, -33.81, 57.28)
CIE-LCHlch(63.64, 66.51, 120.55°)
OKLaboklab(67.51% -0.0973 0.1269)
OKLCHoklch(67.51% 0.16 127.5)
XYZxyz(22.5373, 32.3622, 6.9782)
Luminance0.3236 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA827 #5427A8
analogous
#A89427 #7BA827 #3BA827
triadic
#7BA827 #277BA8 #A8277B
tetradic
#7BA827 #27A894 #5427A8 #A8273B
square
#7BA827 #27A894 #5427A8 #A8273B
split-complementary
#7BA827 #273BA8 #9427A8
monochromatic
#324510 #57761B #7BA827 #9DD13B #B6DD6C

Accessibility & contrast

On white

2.81
#7BA827 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#7BA827 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BA827
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BA827#FFFFFF#000000##000000
##7BA8271.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C06
Deuteranopia (green-blind)
#AB9934
Tritanopia (blue-blind)
#80A090
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7ba827;
/* rgb */ color: rgb(123, 168, 39);
/* oklch */ color: oklch(67.5% 0.160 127.5);
Tailwind
colors: {
  custom: {
    50: '#a5c26c',
    500: '#7ba827',
    950: '#000000',
  },
}
SCSS
$custom: #7ba827;
$custom-light: #a5c26c;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba827",
  "rgb": {
    "r": 123,
    "g": 168,
    "b": 39
  },
  "hsl": {
    "h": 80.93,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.67513,
    "c": 0.15987,
    "h": 127.5
  },
  "luminance": 0.32363
}

Semantic roles & 50–950 ramp

primary
#7BA827
secondary
#8767C3
accent
#42E57B
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7BA827

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

Preview Lab → · Contrast checker → · Palette generator →

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