#7BA031#7BA031

#7BA031 is a light, vivid yellow-green. Relative luminance 0.296; OKLCH L 65.6% C 0.143 H 126.1°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#7BA031
RGBrgb(123, 160, 49)
HSLhsl(80, 53%, 41%)
HSVhsv(80, 69%, 63%)
CMYKcmyk(23.1%, 0%, 69.4%, 37.3%)
CIE-LABlab(61.28, -29.45, 51.30)
CIE-LCHlch(61.28, 59.15, 119.86°)
OKLaboklab(65.62% -0.0845 0.1159)
OKLCHoklch(65.62% 0.143 126.1)
XYZxyz(21.2936, 29.5740, 7.4916)
Luminance0.2957 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BA031 #5631A0
analogous
#A08D31 #7BA031 #43A031
triadic
#7BA031 #317BA0 #A0317B
tetradic
#7BA031 #31A08D #5631A0 #A03143
square
#7BA031 #31A08D #5631A0 #A03143
split-complementary
#7BA031 #3143A0 #8D31A0
monochromatic
#334214 #577123 #7BA031 #9CC747 #B6D576

Accessibility & contrast

On white

3.04
#7BA031 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#7BA031 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7BA031
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BA031#FFFFFF#000000##000000
##7BA0311.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89520
Deuteranopia (green-blind)
#A3933A
Tritanopia (blue-blind)
#80988A
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7ba031;
/* rgb */ color: rgb(123, 160, 49);
/* oklch */ color: oklch(65.6% 0.143 126.1);
Tailwind
colors: {
  custom: {
    50: '#a4bc70',
    500: '#7ba031',
    950: '#000000',
  },
}
SCSS
$custom: #7ba031;
$custom-light: #a4bc70;
$custom-dark: #000000;
JSON
{
  "hex": "#7ba031",
  "rgb": {
    "r": 123,
    "g": 160,
    "b": 49
  },
  "hsl": {
    "h": 80,
    "s": 53.11,
    "l": 40.98
  },
  "oklch": {
    "l": 0.65622,
    "c": 0.14345,
    "h": 126.1
  },
  "luminance": 0.29574
}

Semantic roles & 50–950 ramp

primary
#7BA031
secondary
#8970BD
accent
#4BDD7C
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7BA031

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

Preview Lab → · Contrast checker → · Palette generator →

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