#7BA338#7BA338

#7BA338 is a light, vivid yellow-green. Relative luminance 0.307; OKLCH L 66.4% C 0.142 H 127.4°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#7BA338
RGBrgb(123, 163, 56)
HSLhsl(82, 49%, 43%)
HSVhsv(82, 66%, 64%)
CMYKcmyk(24.5%, 0%, 65.6%, 36.1%)
CIE-LABlab(62.25, -30.37, 49.41)
CIE-LCHlch(62.25, 57.99, 121.58°)
OKLaboklab(66.42% -0.0864 0.1129)
OKLCHoklch(66.42% 0.142 127.4)
XYZxyz(21.9794, 30.6905, 8.5065)
Luminance0.3069 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA338 #6038A3
analogous
#A39538 #7BA338 #45A338
triadic
#7BA338 #387BA3 #A3387B
tetradic
#7BA338 #38A395 #6038A3 #A33845
square
#7BA338 #38A395 #6038A3 #A33845
split-complementary
#7BA338 #3845A3 #9538A3
monochromatic
#364819 #597528 #7BA338 #9AC454 #B5D482

Accessibility & contrast

On white

2.94
#7BA338 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#7BA338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BA338
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BA338#FFFFFF#000000##000000
##7BA3381.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB982A
Deuteranopia (green-blind)
#A69640
Tritanopia (blue-blind)
#7F9C8D
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7ba338;
/* rgb */ color: rgb(123, 163, 56);
/* oklch */ color: oklch(66.4% 0.142 127.4);
Tailwind
colors: {
  custom: {
    50: '#a4be74',
    500: '#7ba338',
    950: '#000000',
  },
}
SCSS
$custom: #7ba338;
$custom-light: #a4be74;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba338",
  "rgb": {
    "r": 123,
    "g": 163,
    "b": 56
  },
  "hsl": {
    "h": 82.43,
    "s": 48.858,
    "l": 42.941
  },
  "oklch": {
    "l": 0.66418,
    "c": 0.1422,
    "h": 127.4
  },
  "luminance": 0.30691
}

Semantic roles & 50–950 ramp

primary
#7BA338
secondary
#9379BD
accent
#4FD883
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#0F1208
muted
#7F817B

Preview Lab

Preview with #7BA338

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

Preview Lab → · Contrast checker → · Palette generator →

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