#7BA532#7BA532

#7BA532 is a light, vivid yellow-green. Relative luminance 0.314; OKLCH L 66.9% C 0.149 H 127.4°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#7BA532
RGBrgb(123, 165, 50)
HSLhsl(82, 53%, 42%)
HSVhsv(82, 70%, 65%)
CMYKcmyk(25.5%, 0%, 69.7%, 35.3%)
CIE-LABlab(62.80, -31.75, 52.45)
CIE-LCHlch(62.80, 61.31, 121.18°)
OKLaboklab(66.86% -0.0907 0.1185)
OKLCHoklch(66.86% 0.149 127.4)
XYZxyz(22.1993, 31.3511, 7.8988)
Luminance0.3135 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA532 #5C32A5
analogous
#A59632 #7BA532 #42A532
triadic
#7BA532 #327BA5 #A5327B
tetradic
#7BA532 #32A596 #5C32A5 #A53242
square
#7BA532 #32A596 #5C32A5 #A53242
split-complementary
#7BA532 #3242A5 #9632A5
monochromatic
#354716 #587624 #7BA532 #9BC94C #B5D77B

Accessibility & contrast

On white

2.89
#7BA532 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#7BA532 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BA532
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BA532#FFFFFF#000000##000000
##7BA5321.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9A20
Deuteranopia (green-blind)
#A8973C
Tritanopia (blue-blind)
#809D8E
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #7ba532;
/* rgb */ color: rgb(123, 165, 50);
/* oklch */ color: oklch(66.9% 0.149 127.4);
Tailwind
colors: {
  custom: {
    50: '#a5c071',
    500: '#7ba532',
    950: '#000000',
  },
}
SCSS
$custom: #7ba532;
$custom-light: #a5c071;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba532",
  "rgb": {
    "r": 123,
    "g": 165,
    "b": 50
  },
  "hsl": {
    "h": 81.913,
    "s": 53.488,
    "l": 42.157
  },
  "oklch": {
    "l": 0.66855,
    "c": 0.14924,
    "h": 127.4
  },
  "luminance": 0.31352
}

Semantic roles & 50–950 ramp

primary
#7BA532
secondary
#8F73BF
accent
#4BDD80
background
#FAFBF7
surface
#F4F7ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7BA532

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

Preview Lab → · Contrast checker → · Palette generator →

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