#6A9722#6A9722

#6A9722 is a light, vivid yellow-green. Relative luminance 0.253; OKLCH L 62.1% C 0.150 H 128.9°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#6A9722
RGBrgb(106, 151, 34)
HSLhsl(83, 63%, 36%)
HSVhsv(83, 77%, 59%)
CMYKcmyk(29.8%, 0%, 77.5%, 40.8%)
CIE-LABlab(57.38, -32.93, 52.64)
CIE-LCHlch(57.38, 62.09, 122.03°)
OKLaboklab(62.15% -0.0942 0.1167)
OKLCHoklch(62.15% 0.15 128.9)
XYZxyz(17.2992, 25.3124, 5.4874)
Luminance0.2531 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A9722 #4F2297
analogous
#978A22 #6A9722 #309722
triadic
#6A9722 #226A97 #97226A
tetradic
#6A9722 #22978A #4F2297 #972230
square
#6A9722 #22978A #4F2297 #972230
split-complementary
#6A9722 #223097 #8A2297
monochromatic
#24330C #476517 #6A9722 #8DC92D #A8DA5A

Accessibility & contrast

On white

3.46
#6A9722 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#6A9722 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A9722
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A9722#FFFFFF#000000##000000
##6A97221.003.466.066.06
#FFFFFF3.461.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C05
Deuteranopia (green-blind)
#98892E
Tritanopia (blue-blind)
#6D9081
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #6a9722;
/* rgb */ color: rgb(106, 151, 34);
/* oklch */ color: oklch(62.1% 0.150 128.9);
Tailwind
colors: {
  custom: {
    50: '#99b667',
    500: '#6a9722',
    950: '#000000',
  },
}
SCSS
$custom: #6a9722;
$custom-light: #99b667;
$custom-dark: #000000;
JSON
{
  "hex": "#6a9722",
  "rgb": {
    "r": 106,
    "g": 151,
    "b": 34
  },
  "hsl": {
    "h": 83.077,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.62146,
    "c": 0.15002,
    "h": 128.9
  },
  "luminance": 0.25313
}

Semantic roles & 50–950 ramp

primary
#6A9722
secondary
#7E57BE
accent
#42E681
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1106
muted
#7E807A

Preview Lab

Preview with #6A9722

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

Preview Lab → · Contrast checker → · Palette generator →

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