#6F9822#6F9822

#6F9822 is a light, vivid yellow-green. Relative luminance 0.260; OKLCH L 62.7% C 0.149 H 127.4°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#6F9822
RGBrgb(111, 152, 34)
HSLhsl(81, 63%, 36%)
HSVhsv(81, 78%, 60%)
CMYKcmyk(27%, 0%, 77.6%, 40.4%)
CIE-LABlab(57.99, -31.41, 53.33)
CIE-LCHlch(57.99, 61.89, 120.50°)
OKLaboklab(62.72% -0.0904 0.1181)
OKLCHoklch(62.72% 0.149 127.4)
XYZxyz(18.0726, 25.9511, 5.5700)
Luminance0.2595 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F9822 #4B2298
analogous
#988622 #6F9822 #349822
triadic
#6F9822 #226F98 #98226F
tetradic
#6F9822 #229886 #4B2298 #982234
square
#6F9822 #229886 #4B2298 #982234
split-complementary
#6F9822 #223498 #862298
monochromatic
#26340C #4A6617 #6F9822 #94CA2D #AEDA5A

Accessibility & contrast

On white

3.39
#6F9822 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#6F9822 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6F9822
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F9822#FFFFFF#000000##000000
##6F98221.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D04
Deuteranopia (green-blind)
#9A8B2E
Tritanopia (blue-blind)
#739182
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #6f9822;
/* rgb */ color: rgb(111, 152, 34);
/* oklch */ color: oklch(62.7% 0.149 127.4);
Tailwind
colors: {
  custom: {
    50: '#9cb667',
    500: '#6f9822',
    950: '#000000',
  },
}
SCSS
$custom: #6f9822;
$custom-light: #9cb667;
$custom-dark: #000000;
JSON
{
  "hex": "#6f9822",
  "rgb": {
    "r": 111,
    "g": 152,
    "b": 34
  },
  "hsl": {
    "h": 80.847,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.62723,
    "c": 0.14869,
    "h": 127.4
  },
  "luminance": 0.25951
}

Semantic roles & 50–950 ramp

primary
#6F9822
secondary
#7B57BE
accent
#41E67B
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0F1106
muted
#7E807A

Preview Lab

Preview with #6F9822

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

Preview Lab → · Contrast checker → · Palette generator →

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