#6A9316#6A9316

#6A9316 is a mid, vivid yellow-green. Relative luminance 0.240; OKLCH L 61.1% C 0.151 H 127.4°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#6A9316
RGBrgb(106, 147, 22)
HSLhsl(80, 74%, 33%)
HSVhsv(80, 85%, 58%)
CMYKcmyk(27.9%, 0%, 85%, 42.4%)
CIE-LABlab(56.08, -31.63, 55.03)
CIE-LCHlch(56.08, 63.47, 119.89°)
OKLaboklab(61.07% -0.0915 0.1198)
OKLCHoklch(61.07% 0.151 127.4)
XYZxyz(16.5225, 23.9892, 4.5188)
Luminance0.2399 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A9316 #3F1693
analogous
#937D16 #6A9316 #2B9316
triadic
#6A9316 #166A93 #93166A
tetradic
#6A9316 #16937D #3F1693 #93162B
square
#6A9316 #16937D #3F1693 #93162B
split-complementary
#6A9316 #162B93 #7D1693
monochromatic
#1D2906 #445E0E #6A9316 #90C81E #AEE341

Accessibility & contrast

On white

3.62
#6A9316 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#6A9316 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A9316
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A9316#FFFFFF#000000##000000
##6A93161.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8800
Deuteranopia (green-blind)
#958625
Tritanopia (blue-blind)
#6E8C7D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #6a9316;
/* rgb */ color: rgb(106, 147, 22);
/* oklch */ color: oklch(61.1% 0.151 127.4);
Tailwind
colors: {
  custom: {
    50: '#99b361',
    500: '#6a9316',
    950: '#000000',
  },
}
SCSS
$custom: #6a9316;
$custom-light: #99b361;
$custom-dark: #000000;
JSON
{
  "hex": "#6a9316",
  "rgb": {
    "r": 106,
    "g": 147,
    "b": 22
  },
  "hsl": {
    "h": 79.68,
    "s": 73.964,
    "l": 33.137
  },
  "oklch": {
    "l": 0.61069,
    "c": 0.15077,
    "h": 127.4
  },
  "luminance": 0.2399
}

Semantic roles & 50–950 ramp

primary
#6A9316
secondary
#6C42C3
accent
#37F174
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1106
muted
#7E807A

Preview Lab

Preview with #6A9316

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

Preview Lab → · Contrast checker → · Palette generator →

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