#6A8E16#6A8E16

#6A8E16 is a mid, vivid yellow-green. Relative luminance 0.225; OKLCH L 59.8% C 0.145 H 126.1°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#6A8E16
RGBrgb(106, 142, 22)
HSLhsl(78, 73%, 32%)
HSVhsv(78, 85%, 56%)
CMYKcmyk(25.4%, 0%, 84.5%, 44.3%)
CIE-LABlab(54.52, -29.26, 53.66)
CIE-LCHlch(54.52, 61.12, 118.61°)
OKLaboklab(59.81% -0.0851 0.1169)
OKLCHoklch(59.81% 0.145 126.1)
XYZxyz(15.7618, 22.4678, 4.2652)
Luminance0.2247 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A8E16 #3A168E
analogous
#8E7616 #6A8E16 #2E8E16
triadic
#6A8E16 #166A8E #8E166A
tetradic
#6A8E16 #168E76 #3A168E #8E162E
square
#6A8E16 #168E76 #3A168E #8E162E
split-complementary
#6A8E16 #162E8E #76168E
monochromatic
#1B2406 #42590E #6A8E16 #92C31E #B0E13D

Accessibility & contrast

On white

3.82
#6A8E16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#6A8E16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A8E16
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A8E16#FFFFFF#000000##000000
##6A8E161.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#918224
Tritanopia (blue-blind)
#6F8779
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #6a8e16;
/* rgb */ color: rgb(106, 142, 22);
/* oklch */ color: oklch(59.8% 0.145 126.1);
Tailwind
colors: {
  custom: {
    50: '#99af60',
    500: '#6a8e16',
    950: '#000000',
  },
}
SCSS
$custom: #6a8e16;
$custom-light: #99af60;
$custom-dark: #000000;
JSON
{
  "hex": "#6a8e16",
  "rgb": {
    "r": 106,
    "g": 142,
    "b": 22
  },
  "hsl": {
    "h": 78,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.59805,
    "c": 0.14462,
    "h": 126.1
  },
  "luminance": 0.22468
}

Semantic roles & 50–950 ramp

primary
#6A8E16
secondary
#663FC1
accent
#38F06F
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #6A8E16

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

Preview Lab → · Contrast checker → · Palette generator →

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