#6B9531#6B9531

#6B9531 is a mid, vivid yellow-green. Relative luminance 0.248; OKLCH L 61.8% C 0.137 H 129.3°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#6B9531
RGBrgb(107, 149, 49)
HSLhsl(85, 51%, 39%)
HSVhsv(85, 67%, 58%)
CMYKcmyk(28.2%, 0%, 67.1%, 41.6%)
CIE-LABlab(56.92, -30.60, 46.43)
CIE-LCHlch(56.92, 55.61, 123.38°)
OKLaboklab(61.82% -0.0867 0.106)
OKLCHoklch(61.82% 0.137 129.3)
XYZxyz(17.3651, 24.8420, 6.7852)
Luminance0.2484 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B9531 #5B3195
analogous
#958D31 #6B9531 #399531
triadic
#6B9531 #316B95 #95316B
tetradic
#6B9531 #31958D #5B3195 #953139
square
#6B9531 #31958D #5B3195 #953139
split-complementary
#6B9531 #313995 #8D3195
monochromatic
#293913 #4A6722 #6B9531 #8CC142 #A8D070

Accessibility & contrast

On white

3.52
#6B9531 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#6B9531 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B9531
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B9531#FFFFFF#000000##000000
##6B95311.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8B24
Deuteranopia (green-blind)
#968839
Tritanopia (blue-blind)
#6E8F81
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #6b9531;
/* rgb */ color: rgb(107, 149, 49);
/* oklch */ color: oklch(61.8% 0.137 129.3);
Tailwind
colors: {
  custom: {
    50: '#98b46e',
    500: '#6b9531',
    950: '#000000',
  },
}
SCSS
$custom: #6b9531;
$custom-light: #98b46e;
$custom-dark: #000000;
JSON
{
  "hex": "#6b9531",
  "rgb": {
    "r": 107,
    "g": 149,
    "b": 49
  },
  "hsl": {
    "h": 85.2,
    "s": 50.505,
    "l": 38.824
  },
  "oklch": {
    "l": 0.61823,
    "c": 0.13691,
    "h": 129.3
  },
  "luminance": 0.24842
}

Semantic roles & 50–950 ramp

primary
#6B9531
secondary
#8B6AB8
accent
#4EDA89
background
#F9FBF6
surface
#F2F6EC
border
#CCD0C7
text
#0E1107
muted
#7E807A

Preview Lab

Preview with #6B9531

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

Preview Lab → · Contrast checker → · Palette generator →

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