#6B9521#6B9521

#6B9521 is a mid, vivid yellow-green. Relative luminance 0.247; OKLCH L 61.7% C 0.148 H 128.0°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#6B9521
RGBrgb(107, 149, 33)
HSLhsl(82, 64%, 36%)
HSVhsv(82, 78%, 58%)
CMYKcmyk(28.2%, 0%, 77.9%, 41.6%)
CIE-LABlab(56.81, -31.66, 52.46)
CIE-LCHlch(56.81, 61.27, 121.11°)
OKLaboklab(61.7% -0.0909 0.1162)
OKLCHoklch(61.7% 0.148 128)
XYZxyz(17.0854, 24.7301, 5.3118)
Luminance0.2473 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B9521 #4B2195
analogous
#958521 #6B9521 #319521
triadic
#6B9521 #216B95 #95216B
tetradic
#6B9521 #219585 #4B2195 #952131
square
#6B9521 #219585 #4B2195 #952131
split-complementary
#6B9521 #213195 #852195
monochromatic
#23310B #476316 #6B9521 #8FC72C #AADA57

Accessibility & contrast

On white

3.53
#6B9521 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#6B9521 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B9521
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B9521#FFFFFF#000000##000000
##6B95211.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A03
Deuteranopia (green-blind)
#97872D
Tritanopia (blue-blind)
#6F8E7F
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #6b9521;
/* rgb */ color: rgb(107, 149, 33);
/* oklch */ color: oklch(61.7% 0.148 128.0);
Tailwind
colors: {
  custom: {
    50: '#99b466',
    500: '#6b9521',
    950: '#000000',
  },
}
SCSS
$custom: #6b9521;
$custom-light: #99b466;
$custom-dark: #000000;
JSON
{
  "hex": "#6b9521",
  "rgb": {
    "r": 107,
    "g": 149,
    "b": 33
  },
  "hsl": {
    "h": 81.724,
    "s": 63.736,
    "l": 35.686
  },
  "oklch": {
    "l": 0.61699,
    "c": 0.14751,
    "h": 128
  },
  "luminance": 0.2473
}

Semantic roles & 50–950 ramp

primary
#6B9521
secondary
#7A54BE
accent
#41E77D
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1106
muted
#7E807A

Preview Lab

Preview with #6B9521

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

Preview Lab → · Contrast checker → · Palette generator →

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