#7BA252#7BA252

#7BA252 is a light, moderate yellow-green. Relative luminance 0.307; OKLCH L 66.5% C 0.117 H 130.4°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#7BA252
RGBrgb(123, 162, 82)
HSLhsl(89, 33%, 48%)
HSVhsv(89, 49%, 64%)
CMYKcmyk(24.1%, 0%, 49.4%, 36.5%)
CIE-LABlab(62.22, -27.34, 37.12)
CIE-LCHlch(62.22, 46.11, 126.37°)
OKLaboklab(66.49% -0.0758 0.0891)
OKLCHoklch(66.49% 0.117 130.4)
XYZxyz(22.6114, 30.6603, 12.7077)
Luminance0.3066 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA252 #7952A2
analogous
#A2A152 #7BA252 #53A252
triadic
#7BA252 #527BA2 #A2527B
tetradic
#7BA252 #52A2A1 #7952A2 #A25253
square
#7BA252 #52A2A1 #7952A2 #A25253
split-complementary
#7BA252 #5253A2 #A152A2
monochromatic
#3D5129 #5C793D #7BA252 #99BA77 #B8CFA0

Accessibility & contrast

On white

2.94
#7BA252 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#7BA252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BA252
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BA252#FFFFFF#000000##000000
##7BA2521.002.947.137.13
#FFFFFF2.941.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8984B
Deuteranopia (green-blind)
#A39557
Tritanopia (blue-blind)
#7D9C8F
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7ba252;
/* rgb */ color: rgb(123, 162, 82);
/* oklch */ color: oklch(66.5% 0.117 130.4);
Tailwind
colors: {
  custom: {
    50: '#a3bd84',
    500: '#7ba252',
    950: '#000000',
  },
}
SCSS
$custom: #7ba252;
$custom-light: #a3bd84;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba252",
  "rgb": {
    "r": 123,
    "g": 162,
    "b": 82
  },
  "hsl": {
    "h": 89.25,
    "s": 32.787,
    "l": 47.843
  },
  "oklch": {
    "l": 0.66486,
    "c": 0.11698,
    "h": 130.4
  },
  "luminance": 0.30661
}

Semantic roles & 50–950 ramp

primary
#7BA252
secondary
#A794BC
accent
#5FC993
background
#FAFBF8
surface
#F4F6EF
border
#CED0CA
text
#0F120B
muted
#7F817C

Preview Lab

Preview with #7BA252

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

Preview Lab → · Contrast checker → · Palette generator →

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