#6B9B22#6B9B22

#6B9B22 is a light, vivid yellow-green. Relative luminance 0.267; OKLCH L 63.2% C 0.155 H 129.4°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#6B9B22
RGBrgb(107, 155, 34)
HSLhsl(84, 64%, 37%)
HSVhsv(84, 78%, 61%)
CMYKcmyk(31%, 0%, 78.1%, 39.2%)
CIE-LABlab(58.68, -34.38, 53.89)
CIE-LCHlch(58.68, 63.92, 122.53°)
OKLaboklab(63.22% -0.0982 0.1194)
OKLCHoklch(63.22% 0.155 129.4)
XYZxyz(18.0734, 26.6834, 5.7112)
Luminance0.2668 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B9B22 #52229B
analogous
#9B8F22 #6B9B22 #2E9B22
triadic
#6B9B22 #226B9B #9B226B
tetradic
#6B9B22 #229B8F #52229B #9B222E
square
#6B9B22 #229B8F #52229B #9B222E
split-complementary
#6B9B22 #222E9B #8F229B
monochromatic
#26370C #486917 #6B9B22 #8ECD2D #A9DB5C

Accessibility & contrast

On white

3.31
#6B9B22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#6B9B22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B9B22
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B9B22#FFFFFF#000000##000000
##6B9B221.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A38F02
Deuteranopia (green-blind)
#9C8C2E
Tritanopia (blue-blind)
#6E9484
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #6b9b22;
/* rgb */ color: rgb(107, 155, 34);
/* oklch */ color: oklch(63.2% 0.155 129.4);
Tailwind
colors: {
  custom: {
    50: '#9ab867',
    500: '#6b9b22',
    950: '#000000',
  },
}
SCSS
$custom: #6b9b22;
$custom-light: #9ab867;
$custom-dark: #000000;
JSON
{
  "hex": "#6b9b22",
  "rgb": {
    "r": 107,
    "g": 155,
    "b": 34
  },
  "hsl": {
    "h": 83.802,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.63221,
    "c": 0.15456,
    "h": 129.4
  },
  "luminance": 0.26684
}

Semantic roles & 50–950 ramp

primary
#6B9B22
secondary
#8259C0
accent
#41E783
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1106
muted
#7E807A

Preview Lab

Preview with #6B9B22

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

Preview Lab → · Contrast checker → · Palette generator →

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