#6B9522#6B9522

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

Color values

HEX#6B9522
RGBrgb(107, 149, 34)
HSLhsl(82, 63%, 36%)
HSVhsv(82, 77%, 58%)
CMYKcmyk(28.2%, 0%, 77.2%, 41.6%)
CIE-LABlab(56.82, -31.60, 52.13)
CIE-LCHlch(56.82, 60.96, 121.23°)
OKLaboklab(61.71% -0.0907 0.1156)
OKLCHoklch(61.71% 0.147 128.1)
XYZxyz(17.0996, 24.7358, 5.3866)
Luminance0.2474 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B9522 #4C2295
analogous
#958522 #6B9522 #319522
triadic
#6B9522 #226B95 #95226B
tetradic
#6B9522 #229585 #4C2295 #952231
square
#6B9522 #229585 #4C2295 #952231
split-complementary
#6B9522 #223195 #852295
monochromatic
#23310B #476317 #6B9522 #8FC72D #AAD958

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B9522#FFFFFF#000000##000000
##6B95221.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)
#9D8A06
Deuteranopia (green-blind)
#97872D
Tritanopia (blue-blind)
#6F8E7F
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #6b9522;
/* rgb */ color: rgb(107, 149, 34);
/* oklch */ color: oklch(61.7% 0.147 128.1);
Tailwind
colors: {
  custom: {
    50: '#99b466',
    500: '#6b9522',
    950: '#000000',
  },
}
SCSS
$custom: #6b9522;
$custom-light: #99b466;
$custom-dark: #000000;
JSON
{
  "hex": "#6b9522",
  "rgb": {
    "r": 107,
    "g": 149,
    "b": 34
  },
  "hsl": {
    "h": 81.913,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.61705,
    "c": 0.14695,
    "h": 128.1
  },
  "luminance": 0.24736
}

Semantic roles & 50–950 ramp

primary
#6B9522
secondary
#7B56BD
accent
#42E67E
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1106
muted
#7E807A

Preview Lab

Preview with #6B9522

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

Preview Lab → · Contrast checker → · Palette generator →

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