#6B8A22#6B8A22

#6B8A22 is a mid, vivid yellow-green. Relative luminance 0.214; OKLCH L 58.9% C 0.133 H 125.1°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#6B8A22
RGBrgb(107, 138, 34)
HSLhsl(78, 60%, 34%)
HSVhsv(78, 75%, 54%)
CMYKcmyk(22.5%, 0%, 75.4%, 45.9%)
CIE-LABlab(53.40, -26.33, 48.85)
CIE-LCHlch(53.40, 55.49, 118.33°)
OKLaboklab(58.94% -0.0763 0.1088)
OKLCHoklch(58.94% 0.133 125.1)
XYZxyz(15.4407, 21.4181, 4.8337)
Luminance0.2142 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B8A22 #41228A
analogous
#8A7522 #6B8A22 #378A22
triadic
#6B8A22 #226B8A #8A226B
tetradic
#6B8A22 #228A75 #41228A #8A2237
square
#6B8A22 #228A75 #41228A #8A2237
split-complementary
#6B8A22 #22378A #75228A
monochromatic
#1F280A #455916 #6B8A22 #91BB2E #AED452

Accessibility & contrast

On white

3.97
#6B8A22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#6B8A22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B8A22
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B8A22#FFFFFF#000000##000000
##6B8A221.003.975.285.28
#FFFFFF3.971.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#92810D
Deuteranopia (green-blind)
#8E7F2C
Tritanopia (blue-blind)
#708376
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6b8a22;
/* rgb */ color: rgb(107, 138, 34);
/* oklch */ color: oklch(58.9% 0.133 125.1);
Tailwind
colors: {
  custom: {
    50: '#99ac65',
    500: '#6b8a22',
    950: '#000000',
  },
}
SCSS
$custom: #6b8a22;
$custom-light: #99ac65;
$custom-dark: #000000;
JSON
{
  "hex": "#6b8a22",
  "rgb": {
    "r": 107,
    "g": 138,
    "b": 34
  },
  "hsl": {
    "h": 77.885,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.58936,
    "c": 0.13285,
    "h": 125.1
  },
  "luminance": 0.21418
}

Semantic roles & 50–950 ramp

primary
#6B8A22
secondary
#6F50B8
accent
#44E474
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6B8A22

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

Preview Lab → · Contrast checker → · Palette generator →

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