#7BA342#7BA342

#7BA342 is a light, vivid yellow-green. Relative luminance 0.308; OKLCH L 66.5% C 0.134 H 128.4°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#7BA342
RGBrgb(123, 163, 66)
HSLhsl(85, 42%, 45%)
HSVhsv(85, 60%, 64%)
CMYKcmyk(24.5%, 0%, 59.5%, 36.1%)
CIE-LABlab(62.34, -29.51, 45.05)
CIE-LCHlch(62.34, 53.86, 123.23°)
OKLaboklab(66.52% -0.0831 0.1049)
OKLCHoklch(66.52% 0.134 128.4)
XYZxyz(22.2488, 30.7982, 9.9257)
Luminance0.3080 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA342 #6A42A3
analogous
#A39A42 #7BA342 #4BA342
triadic
#7BA342 #427BA3 #A3427B
tetradic
#7BA342 #42A39A #6A42A3 #A3424B
square
#7BA342 #42A39A #6A42A3 #A3424B
split-complementary
#7BA342 #424BA3 #9A42A3
monochromatic
#394C1F #5A7730 #7BA342 #99C063 #B6D18E

Accessibility & contrast

On white

2.93
#7BA342 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#7BA342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BA342
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BA342#FFFFFF#000000##000000
##7BA3421.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9838
Deuteranopia (green-blind)
#A59649
Tritanopia (blue-blind)
#7F9C8E
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7ba342;
/* rgb */ color: rgb(123, 163, 66);
/* oklch */ color: oklch(66.5% 0.134 128.4);
Tailwind
colors: {
  custom: {
    50: '#a4be7a',
    500: '#7ba342',
    950: '#000000',
  },
}
SCSS
$custom: #7ba342;
$custom-light: #a4be7a;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba342",
  "rgb": {
    "r": 123,
    "g": 163,
    "b": 66
  },
  "hsl": {
    "h": 84.742,
    "s": 42.358,
    "l": 44.902
  },
  "oklch": {
    "l": 0.66521,
    "c": 0.13387,
    "h": 128.4
  },
  "luminance": 0.30799
}

Semantic roles & 50–950 ramp

primary
#7BA342
secondary
#9B84BC
accent
#56D289
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#0F1209
muted
#7F817B

Preview Lab

Preview with #7BA342

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

Preview Lab → · Contrast checker → · Palette generator →

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