#6F8A22#6F8A22

#6F8A22 is a mid, vivid yellow-green. Relative luminance 0.217; OKLCH L 59.2% C 0.131 H 123.3°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#6F8A22
RGBrgb(111, 138, 34)
HSLhsl(76, 60%, 34%)
HSVhsv(76, 75%, 54%)
CMYKcmyk(19.6%, 0%, 75.4%, 45.9%)
CIE-LABlab(53.68, -24.64, 49.20)
CIE-LCHlch(53.68, 55.03, 116.60°)
OKLaboklab(59.23% -0.0719 0.1094)
OKLCHoklch(59.23% 0.131 123.3)
XYZxyz(15.9329, 21.6719, 4.8568)
Luminance0.2167 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F8A22 #3D228A
analogous
#8A7122 #6F8A22 #3B8A22
triadic
#6F8A22 #226F8A #8A226F
tetradic
#6F8A22 #228A71 #3D228A #8A223B
square
#6F8A22 #228A71 #3D228A #8A223B
split-complementary
#6F8A22 #223B8A #71228A
monochromatic
#20280A #485916 #6F8A22 #96BB2E #B3D452

Accessibility & contrast

On white

3.94
#6F8A22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#6F8A22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6F8A22
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F8A22#FFFFFF#000000##000000
##6F8A221.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6f8a22;
/* rgb */ color: rgb(111, 138, 34);
/* oklch */ color: oklch(59.2% 0.131 123.3);
Tailwind
colors: {
  custom: {
    50: '#9bac65',
    500: '#6f8a22',
    950: '#000000',
  },
}
SCSS
$custom: #6f8a22;
$custom-light: #9bac65;
$custom-dark: #000000;
JSON
{
  "hex": "#6f8a22",
  "rgb": {
    "r": 111,
    "g": 138,
    "b": 34
  },
  "hsl": {
    "h": 75.577,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.59228,
    "c": 0.13091,
    "h": 123.3
  },
  "luminance": 0.21672
}

Semantic roles & 50–950 ramp

primary
#6F8A22
secondary
#6B50B8
accent
#44E46E
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6F8A22

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

Preview Lab → · Contrast checker → · Palette generator →

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