#7BA533#7BA533

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

Color values

HEX#7BA533
RGBrgb(123, 165, 51)
HSLhsl(82, 53%, 42%)
HSVhsv(82, 69%, 65%)
CMYKcmyk(25.5%, 0%, 69.1%, 35.3%)
CIE-LABlab(62.81, -31.68, 52.07)
CIE-LCHlch(62.81, 60.95, 121.32°)
OKLaboklab(66.86% -0.0905 0.1178)
OKLCHoklch(66.86% 0.149 127.5)
XYZxyz(22.2211, 31.3598, 8.0136)
Luminance0.3136 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA533 #5D33A5
analogous
#A59633 #7BA533 #42A533
triadic
#7BA533 #337BA5 #A5337B
tetradic
#7BA533 #33A596 #5D33A5 #A53342
square
#7BA533 #33A596 #5D33A5 #A53342
split-complementary
#7BA533 #3342A5 #9633A5
monochromatic
#354816 #587625 #7BA533 #9BC84D #B5D67C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7BA533#FFFFFF#000000##000000
##7BA5331.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)
#AD9A22
Deuteranopia (green-blind)
#A8973C
Tritanopia (blue-blind)
#7F9E8E
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #7ba533;
/* rgb */ color: rgb(123, 165, 51);
/* oklch */ color: oklch(66.9% 0.149 127.5);
Tailwind
colors: {
  custom: {
    50: '#a4c071',
    500: '#7ba533',
    950: '#000000',
  },
}
SCSS
$custom: #7ba533;
$custom-light: #a4c071;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba533",
  "rgb": {
    "r": 123,
    "g": 165,
    "b": 51
  },
  "hsl": {
    "h": 82.105,
    "s": 52.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.66863,
    "c": 0.14854,
    "h": 127.5
  },
  "luminance": 0.3136
}

Semantic roles & 50–950 ramp

primary
#7BA533
secondary
#9075BF
accent
#4CDC81
background
#FAFBF7
surface
#F4F7ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7BA533

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

Preview Lab → · Contrast checker → · Palette generator →

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