#6A8722#6A8722

#6A8722 is a mid, vivid yellow-green. Relative luminance 0.205; OKLCH L 58.1% C 0.129 H 124.5°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#6A8722
RGBrgb(106, 135, 34)
HSLhsl(77, 60%, 33%)
HSVhsv(77, 75%, 53%)
CMYKcmyk(21.5%, 0%, 74.8%, 47.1%)
CIE-LABlab(52.41, -25.27, 47.85)
CIE-LCHlch(52.41, 54.12, 117.84°)
OKLaboklab(58.11% -0.0733 0.1067)
OKLCHoklch(58.11% 0.129 124.5)
XYZxyz(14.8967, 20.5075, 4.6866)
Luminance0.2051 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A8722 #3F2287
analogous
#877122 #6A8722 #378722
triadic
#6A8722 #226A87 #87226A
tetradic
#6A8722 #228771 #3F2287 #872237
square
#6A8722 #228771 #3F2287 #872237
split-complementary
#6A8722 #223787 #712287
monochromatic
#1D2509 #445616 #6A8722 #90B82E #AED350

Accessibility & contrast

On white

4.12
#6A8722 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#6A8722 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A8722
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A8722#FFFFFF#000000##000000
##6A87221.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E0F
Deuteranopia (green-blind)
#8B7D2B
Tritanopia (blue-blind)
#6F8074
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #6a8722;
/* rgb */ color: rgb(106, 135, 34);
/* oklch */ color: oklch(58.1% 0.129 124.5);
Tailwind
colors: {
  custom: {
    50: '#98aa65',
    500: '#6a8722',
    950: '#000000',
  },
}
SCSS
$custom: #6a8722;
$custom-light: #98aa65;
$custom-dark: #000000;
JSON
{
  "hex": "#6a8722",
  "rgb": {
    "r": 106,
    "g": 135,
    "b": 34
  },
  "hsl": {
    "h": 77.228,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.58111,
    "c": 0.12947,
    "h": 124.5
  },
  "luminance": 0.20508
}

Semantic roles & 50–950 ramp

primary
#6A8722
secondary
#6C4EB7
accent
#45E372
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6A8722

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

Preview Lab → · Contrast checker → · Palette generator →

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