#6F8722#6F8722

#6F8722 is a mid, vivid yellow-green. Relative luminance 0.208; OKLCH L 58.5% C 0.127 H 122.2°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#6F8722
RGBrgb(111, 135, 34)
HSLhsl(74, 60%, 33%)
HSVhsv(74, 75%, 53%)
CMYKcmyk(17.8%, 0%, 74.8%, 47.1%)
CIE-LABlab(52.76, -23.14, 48.31)
CIE-LCHlch(52.76, 53.56, 115.59°)
OKLaboklab(58.48% -0.0678 0.1075)
OKLCHoklch(58.48% 0.127 122.2)
XYZxyz(15.5085, 20.8229, 4.7153)
Luminance0.2082 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F8722 #3A2287
analogous
#876C22 #6F8722 #3D8722
triadic
#6F8722 #226F87 #87226F
tetradic
#6F8722 #22876C #3A2287 #87223D
square
#6F8722 #22876C #3A2287 #87223D
split-complementary
#6F8722 #223D87 #6C2287
monochromatic
#1F2509 #475616 #6F8722 #97B82E #B4D350

Accessibility & contrast

On white

4.07
#6F8722 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#6F8722 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6F8722
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F8722#FFFFFF#000000##000000
##6F87221.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E0E
Deuteranopia (green-blind)
#8C7E2B
Tritanopia (blue-blind)
#758074
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6f8722;
/* rgb */ color: rgb(111, 135, 34);
/* oklch */ color: oklch(58.5% 0.127 122.2);
Tailwind
colors: {
  custom: {
    50: '#9baa65',
    500: '#6f8722',
    950: '#000000',
  },
}
SCSS
$custom: #6f8722;
$custom-light: #9baa65;
$custom-dark: #000000;
JSON
{
  "hex": "#6f8722",
  "rgb": {
    "r": 111,
    "g": 135,
    "b": 34
  },
  "hsl": {
    "h": 74.257,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.58483,
    "c": 0.1271,
    "h": 122.2
  },
  "luminance": 0.20823
}

Semantic roles & 50–950 ramp

primary
#6F8722
secondary
#674EB7
accent
#45E36A
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6F8722

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

Preview Lab → · Contrast checker → · Palette generator →

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