#6BA731#6BA731

#6BA731 is a light, vivid yellow-green. Relative luminance 0.310; OKLCH L 66.4% C 0.161 H 132.7°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#6BA731
RGBrgb(107, 167, 49)
HSLhsl(91, 55%, 42%)
HSVhsv(91, 71%, 65%)
CMYKcmyk(35.9%, 0%, 70.7%, 34.5%)
CIE-LABlab(62.49, -38.80, 52.24)
CIE-LCHlch(62.49, 65.07, 126.60°)
OKLaboklab(66.36% -0.109 0.1182)
OKLCHoklch(66.36% 0.161 132.7)
XYZxyz(20.4362, 30.9841, 7.8089)
Luminance0.3099 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6BA731 #6D31A7
analogous
#A6A731 #6BA731 #31A732
triadic
#6BA731 #316BA7 #A7316B
tetradic
#6BA731 #31A6A7 #6D31A7 #A73231
square
#6BA731 #31A6A7 #6D31A7 #A73231
split-complementary
#6BA731 #3231A7 #A731A6
monochromatic
#2E4815 #4D7823 #6BA731 #8ACA4B #A8D87A

Accessibility & contrast

On white

2.92
#6BA731 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#6BA731 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6BA731
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6BA731#FFFFFF#000000##000000
##6BA7311.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A1E
Deuteranopia (green-blind)
#A6953C
Tritanopia (blue-blind)
#6CA090
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #6ba731;
/* rgb */ color: rgb(107, 167, 49);
/* oklch */ color: oklch(66.4% 0.161 132.7);
Tailwind
colors: {
  custom: {
    50: '#9ac170',
    500: '#6ba731',
    950: '#000000',
  },
}
SCSS
$custom: #6ba731;
$custom-light: #9ac170;
$custom-dark: #000000;
JSON
{
  "hex": "#6ba731",
  "rgb": {
    "r": 107,
    "g": 167,
    "b": 49
  },
  "hsl": {
    "h": 90.508,
    "s": 54.63,
    "l": 42.353
  },
  "oklch": {
    "l": 0.6636,
    "c": 0.16081,
    "h": 132.7
  },
  "luminance": 0.30985
}

Semantic roles & 50–950 ramp

primary
#6BA731
secondary
#9B73C1
accent
#4ADE95
background
#F9FBF7
surface
#F2F7ED
border
#CCD0C8
text
#0E1208
muted
#7E817B

Preview Lab

Preview with #6BA731

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

Preview Lab → · Contrast checker → · Palette generator →

#6BA731 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva