#7BA538#7BA538

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

Color values

HEX#7BA538
RGBrgb(123, 165, 56)
HSLhsl(83, 49%, 43%)
HSVhsv(83, 66%, 65%)
CMYKcmyk(25.5%, 0%, 66.1%, 35.3%)
CIE-LABlab(62.85, -31.31, 50.05)
CIE-LCHlch(62.85, 59.04, 122.03°)
OKLaboklab(66.91% -0.089 0.1143)
OKLCHoklch(66.91% 0.145 127.9)
XYZxyz(22.3373, 31.4063, 8.6258)
Luminance0.3141 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA538 #6238A5
analogous
#A59838 #7BA538 #45A538
triadic
#7BA538 #387BA5 #A5387B
tetradic
#7BA538 #38A598 #6238A5 #A53845
square
#7BA538 #38A598 #6238A5 #A53845
split-complementary
#7BA538 #3845A5 #9838A5
monochromatic
#374A19 #597728 #7BA538 #9AC555 #B5D583

Accessibility & contrast

On white

2.88
#7BA538 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#7BA538 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BA538
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BA538#FFFFFF#000000##000000
##7BA5381.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9A2A
Deuteranopia (green-blind)
#A79741
Tritanopia (blue-blind)
#7F9E8F
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #7ba538;
/* rgb */ color: rgb(123, 165, 56);
/* oklch */ color: oklch(66.9% 0.145 127.9);
Tailwind
colors: {
  custom: {
    50: '#a4c074',
    500: '#7ba538',
    950: '#000000',
  },
}
SCSS
$custom: #7ba538;
$custom-light: #a4c074;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba538",
  "rgb": {
    "r": 123,
    "g": 165,
    "b": 56
  },
  "hsl": {
    "h": 83.119,
    "s": 49.321,
    "l": 43.333
  },
  "oklch": {
    "l": 0.66907,
    "c": 0.14486,
    "h": 127.9
  },
  "luminance": 0.31407
}

Semantic roles & 50–950 ramp

primary
#7BA538
secondary
#957ABE
accent
#4FD984
background
#FAFBF7
surface
#F4F7ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7BA538

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

Preview Lab → · Contrast checker → · Palette generator →

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