#7BA627#7BA627

#7BA627 is a light, vivid yellow-green. Relative luminance 0.316; OKLCH L 67.0% C 0.157 H 127.0°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#7BA627
RGBrgb(123, 166, 39)
HSLhsl(80, 62%, 40%)
HSVhsv(80, 77%, 65%)
CMYKcmyk(25.9%, 0%, 76.5%, 34.9%)
CIE-LABlab(63.04, -32.88, 56.70)
CIE-LCHlch(63.04, 65.55, 120.11°)
OKLaboklab(67.02% -0.0947 0.1257)
OKLCHoklch(67.02% 0.157 127)
XYZxyz(22.1709, 31.6294, 6.8561)
Luminance0.3163 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA627 #5227A6
analogous
#A69127 #7BA627 #3BA627
triadic
#7BA627 #277BA6 #A6277B
tetradic
#7BA627 #27A691 #5227A6 #A6273B
square
#7BA627 #27A691 #5227A6 #A6273B
split-complementary
#7BA627 #273BA6 #9127A6
monochromatic
#324310 #56741B #7BA627 #9DD13A #B6DC6B

Accessibility & contrast

On white

2.87
#7BA627 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#7BA627 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BA627
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BA627#FFFFFF#000000##000000
##7BA6271.002.877.337.33
#FFFFFF2.871.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9A07
Deuteranopia (green-blind)
#A99833
Tritanopia (blue-blind)
#809E8E
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #7ba627;
/* rgb */ color: rgb(123, 166, 39);
/* oklch */ color: oklch(67.0% 0.157 127.0);
Tailwind
colors: {
  custom: {
    50: '#a5c06b',
    500: '#7ba627',
    950: '#000000',
  },
}
SCSS
$custom: #7ba627;
$custom-light: #a5c06b;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba627",
  "rgb": {
    "r": 123,
    "g": 166,
    "b": 39
  },
  "hsl": {
    "h": 80.315,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.67021,
    "c": 0.15738,
    "h": 127
  },
  "luminance": 0.3163
}

Semantic roles & 50–950 ramp

primary
#7BA627
secondary
#8566C3
accent
#43E57A
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7BA627

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

Preview Lab → · Contrast checker → · Palette generator →

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