#6F8D22#6F8D22

#6F8D22 is a mid, vivid yellow-green. Relative luminance 0.225; OKLCH L 60.0% C 0.135 H 124.3°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#6F8D22
RGBrgb(111, 141, 34)
HSLhsl(77, 61%, 34%)
HSVhsv(77, 76%, 55%)
CMYKcmyk(21.3%, 0%, 75.9%, 44.7%)
CIE-LABlab(54.60, -26.13, 50.09)
CIE-LCHlch(54.60, 56.50, 117.54°)
OKLaboklab(59.97% -0.076 0.1113)
OKLCHoklch(59.97% 0.135 124.3)
XYZxyz(16.3693, 22.5446, 5.0022)
Luminance0.2255 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F8D22 #40228D
analogous
#8D7622 #6F8D22 #3A8D22
triadic
#6F8D22 #226F8D #8D226F
tetradic
#6F8D22 #228D76 #40228D #8D223A
square
#6F8D22 #228D76 #40228D #8D223A
split-complementary
#6F8D22 #223A8D #76228D
monochromatic
#212A0A #485C16 #6F8D22 #96BE2E #B1D654

Accessibility & contrast

On white

3.81
#6F8D22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#6F8D22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6F8D22
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F8D22#FFFFFF#000000##000000
##6F8D221.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#95840B
Deuteranopia (green-blind)
#91822C
Tritanopia (blue-blind)
#758679
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #6f8d22;
/* rgb */ color: rgb(111, 141, 34);
/* oklch */ color: oklch(60.0% 0.135 124.3);
Tailwind
colors: {
  custom: {
    50: '#9cae66',
    500: '#6f8d22',
    950: '#000000',
  },
}
SCSS
$custom: #6f8d22;
$custom-light: #9cae66;
$custom-dark: #000000;
JSON
{
  "hex": "#6f8d22",
  "rgb": {
    "r": 111,
    "g": 141,
    "b": 34
  },
  "hsl": {
    "h": 76.822,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.59974,
    "c": 0.13474,
    "h": 124.3
  },
  "luminance": 0.22545
}

Semantic roles & 50–950 ramp

primary
#6F8D22
secondary
#6F51B9
accent
#44E471
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6F8D22

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

Preview Lab → · Contrast checker → · Palette generator →

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