#6F8622#6F8622

#6F8622 is a mid, vivid yellow-green. Relative luminance 0.205; OKLCH L 58.2% C 0.126 H 121.8°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#6F8622
RGBrgb(111, 134, 34)
HSLhsl(74, 60%, 33%)
HSVhsv(74, 75%, 53%)
CMYKcmyk(17.2%, 0%, 74.6%, 47.5%)
CIE-LABlab(52.45, -22.63, 48.01)
CIE-LCHlch(52.45, 53.08, 115.24°)
OKLaboklab(58.24% -0.0664 0.1069)
OKLCHoklch(58.24% 0.126 121.8)
XYZxyz(15.3696, 20.5452, 4.6690)
Luminance0.2054 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F8622 #392286
analogous
#866B22 #6F8622 #3D8622
triadic
#6F8622 #226F86 #86226F
tetradic
#6F8622 #22866B #392286 #86223D
square
#6F8622 #22866B #392286 #86223D
split-complementary
#6F8622 #223D86 #6B2286
monochromatic
#1E2409 #475516 #6F8622 #97B72E #B4D350

Accessibility & contrast

On white

4.11
#6F8622 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#6F8622 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6F8622
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F8622#FFFFFF#000000##000000
##6F86221.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E0F
Deuteranopia (green-blind)
#8B7D2B
Tritanopia (blue-blind)
#757F73
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #6f8622;
/* rgb */ color: rgb(111, 134, 34);
/* oklch */ color: oklch(58.2% 0.126 121.8);
Tailwind
colors: {
  custom: {
    50: '#9ba965',
    500: '#6f8622',
    950: '#000000',
  },
}
SCSS
$custom: #6f8622;
$custom-light: #9ba965;
$custom-dark: #000000;
JSON
{
  "hex": "#6f8622",
  "rgb": {
    "r": 111,
    "g": 134,
    "b": 34
  },
  "hsl": {
    "h": 73.8,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.58235,
    "c": 0.12583,
    "h": 121.8
  },
  "luminance": 0.20545
}

Semantic roles & 50–950 ramp

primary
#6F8622
secondary
#664EB6
accent
#45E369
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F06
muted
#7E7F7A

Preview Lab

Preview with #6F8622

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

Preview Lab → · Contrast checker → · Palette generator →

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