#7BA236#7BA236

#7BA236 is a light, vivid yellow-green. Relative luminance 0.303; OKLCH L 66.2% C 0.142 H 127.0°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#7BA236
RGBrgb(123, 162, 54)
HSLhsl(82, 50%, 42%)
HSVhsv(82, 67%, 64%)
CMYKcmyk(24.1%, 0%, 66.7%, 36.5%)
CIE-LABlab(61.93, -30.04, 49.91)
CIE-LCHlch(61.93, 58.26, 121.04°)
OKLaboklab(66.16% -0.0857 0.1137)
OKLCHoklch(66.16% 0.142 127)
XYZxyz(21.7546, 30.3176, 8.1951)
Luminance0.3032 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA236 #5D36A2
analogous
#A29336 #7BA236 #45A236
triadic
#7BA236 #367BA2 #A2367B
tetradic
#7BA236 #36A293 #5D36A2 #A23645
square
#7BA236 #36A293 #5D36A2 #A23645
split-complementary
#7BA236 #3645A2 #9336A2
monochromatic
#354617 #587427 #7BA236 #9BC550 #B5D47E

Accessibility & contrast

On white

2.97
#7BA236 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#7BA236 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BA236
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BA236#FFFFFF#000000##000000
##7BA2361.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9727
Deuteranopia (green-blind)
#A5953E
Tritanopia (blue-blind)
#809B8C
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7ba236;
/* rgb */ color: rgb(123, 162, 54);
/* oklch */ color: oklch(66.2% 0.142 127.0);
Tailwind
colors: {
  custom: {
    50: '#a4bd73',
    500: '#7ba236',
    950: '#000000',
  },
}
SCSS
$custom: #7ba236;
$custom-light: #a4bd73;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba236",
  "rgb": {
    "r": 123,
    "g": 162,
    "b": 54
  },
  "hsl": {
    "h": 81.667,
    "s": 50,
    "l": 42.353
  },
  "oklch": {
    "l": 0.66155,
    "c": 0.1424,
    "h": 127
  },
  "luminance": 0.30318
}

Semantic roles & 50–950 ramp

primary
#7BA236
secondary
#9077BD
accent
#4EDA81
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#0F1208
muted
#7F817B

Preview Lab

Preview with #7BA236

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

Preview Lab → · Contrast checker → · Palette generator →

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