#6F9722#6F9722

#6F9722 is a light, vivid yellow-green. Relative luminance 0.256; OKLCH L 62.5% C 0.147 H 127.2°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#6F9722
RGBrgb(111, 151, 34)
HSLhsl(81, 63%, 36%)
HSVhsv(81, 77%, 59%)
CMYKcmyk(26.5%, 0%, 77.5%, 40.8%)
CIE-LABlab(57.68, -30.94, 53.03)
CIE-LCHlch(57.68, 61.40, 120.26°)
OKLaboklab(62.47% -0.0891 0.1175)
OKLCHoklch(62.47% 0.147 127.2)
XYZxyz(17.9109, 25.6279, 5.5161)
Luminance0.2563 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F9722 #4A2297
analogous
#978522 #6F9722 #359722
triadic
#6F9722 #226F97 #97226F
tetradic
#6F9722 #229785 #4A2297 #972235
square
#6F9722 #229785 #4A2297 #972235
split-complementary
#6F9722 #223597 #852297
monochromatic
#26330C #4A6517 #6F9722 #94C92D #AEDA5A

Accessibility & contrast

On white

3.43
#6F9722 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#6F9722 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6F9722
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F9722#FFFFFF#000000##000000
##6F97221.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C04
Deuteranopia (green-blind)
#9A8A2E
Tritanopia (blue-blind)
#739081
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #6f9722;
/* rgb */ color: rgb(111, 151, 34);
/* oklch */ color: oklch(62.5% 0.147 127.2);
Tailwind
colors: {
  custom: {
    50: '#9cb567',
    500: '#6f9722',
    950: '#000000',
  },
}
SCSS
$custom: #6f9722;
$custom-light: #9cb567;
$custom-dark: #000000;
JSON
{
  "hex": "#6f9722",
  "rgb": {
    "r": 111,
    "g": 151,
    "b": 34
  },
  "hsl": {
    "h": 80.513,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.62472,
    "c": 0.14743,
    "h": 127.2
  },
  "luminance": 0.25628
}

Semantic roles & 50–950 ramp

primary
#6F9722
secondary
#7A57BE
accent
#42E67A
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0F1106
muted
#7E807A

Preview Lab

Preview with #6F9722

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

Preview Lab → · Contrast checker → · Palette generator →

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