#7BA042#7BA042

#7BA042 is a light, vivid yellow-green. Relative luminance 0.297; OKLCH L 65.8% C 0.130 H 127.6°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#7BA042
RGBrgb(123, 160, 66)
HSLhsl(84, 42%, 44%)
HSVhsv(84, 59%, 63%)
CMYKcmyk(23.1%, 0%, 58.8%, 37.3%)
CIE-LABlab(61.43, -28.07, 44.03)
CIE-LCHlch(61.43, 52.22, 122.52°)
OKLaboklab(65.79% -0.0791 0.1027)
OKLCHoklch(65.79% 0.13 127.6)
XYZxyz(21.7225, 29.7455, 9.7502)
Luminance0.2975 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA042 #6742A0
analogous
#A09642 #7BA042 #4CA042
triadic
#7BA042 #427BA0 #A0427B
tetradic
#7BA042 #42A096 #6742A0 #A0424C
square
#7BA042 #42A096 #6742A0 #A0424C
split-complementary
#7BA042 #424CA0 #9642A0
monochromatic
#38491E #5A7530 #7BA042 #99BE61 #B5D08D

Accessibility & contrast

On white

3.02
#7BA042 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#7BA042 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7BA042
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BA042#FFFFFF#000000##000000
##7BA0421.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89638
Deuteranopia (green-blind)
#A29448
Tritanopia (blue-blind)
#7F998C
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7ba042;
/* rgb */ color: rgb(123, 160, 66);
/* oklch */ color: oklch(65.8% 0.130 127.6);
Tailwind
colors: {
  custom: {
    50: '#a4bc7a',
    500: '#7ba042',
    950: '#000000',
  },
}
SCSS
$custom: #7ba042;
$custom-light: #a4bc7a;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba042",
  "rgb": {
    "r": 123,
    "g": 160,
    "b": 66
  },
  "hsl": {
    "h": 83.617,
    "s": 41.593,
    "l": 44.314
  },
  "oklch": {
    "l": 0.65791,
    "c": 0.12968,
    "h": 127.6
  },
  "luminance": 0.29746
}

Semantic roles & 50–950 ramp

primary
#7BA042
secondary
#9983BB
accent
#56D187
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#0F1209
muted
#7F817B

Preview Lab

Preview with #7BA042

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

Preview Lab → · Contrast checker → · Palette generator →

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