#7BA331#7BA331

#7BA331 is a light, vivid yellow-green. Relative luminance 0.306; OKLCH L 66.4% C 0.147 H 126.9°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#7BA331
RGBrgb(123, 163, 49)
HSLhsl(81, 54%, 42%)
HSVhsv(81, 70%, 64%)
CMYKcmyk(24.5%, 0%, 69.9%, 36.1%)
CIE-LABlab(62.19, -30.88, 52.22)
CIE-LCHlch(62.19, 60.67, 120.59°)
OKLaboklab(66.36% -0.0884 0.1179)
OKLCHoklch(66.36% 0.147 126.9)
XYZxyz(21.8200, 30.6267, 7.6671)
Luminance0.3063 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA331 #5931A3
analogous
#A39231 #7BA331 #42A331
triadic
#7BA331 #317BA3 #A3317B
tetradic
#7BA331 #31A392 #5931A3 #A33142
square
#7BA331 #31A392 #5931A3 #A33142
split-complementary
#7BA331 #3142A3 #9231A3
monochromatic
#344515 #577423 #7BA331 #9CC849 #B5D678

Accessibility & contrast

On white

2.95
#7BA331 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#7BA331 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BA331
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BA331#FFFFFF#000000##000000
##7BA3311.002.957.137.13
#FFFFFF2.951.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7ba331;
/* rgb */ color: rgb(123, 163, 49);
/* oklch */ color: oklch(66.4% 0.147 126.9);
Tailwind
colors: {
  custom: {
    50: '#a4be70',
    500: '#7ba331',
    950: '#000000',
  },
}
SCSS
$custom: #7ba331;
$custom-light: #a4be70;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba331",
  "rgb": {
    "r": 123,
    "g": 163,
    "b": 49
  },
  "hsl": {
    "h": 81.053,
    "s": 53.774,
    "l": 41.569
  },
  "oklch": {
    "l": 0.66357,
    "c": 0.14734,
    "h": 126.9
  },
  "luminance": 0.30627
}

Semantic roles & 50–950 ramp

primary
#7BA331
secondary
#8C71BF
accent
#4BDD7E
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7BA331

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

Preview Lab → · Contrast checker → · Palette generator →

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