#6A9417#6A9417

#6A9417 is a mid, vivid yellow-green. Relative luminance 0.243; OKLCH L 61.3% C 0.152 H 127.7°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#6A9417
RGBrgb(106, 148, 23)
HSLhsl(80, 73%, 34%)
HSVhsv(80, 84%, 58%)
CMYKcmyk(28.4%, 0%, 84.5%, 42%)
CIE-LABlab(56.39, -32.05, 55.04)
CIE-LCHlch(56.39, 63.70, 120.21°)
OKLaboklab(61.33% -0.0926 0.12)
OKLCHoklch(61.33% 0.152 127.7)
XYZxyz(16.6885, 24.3055, 4.6226)
Luminance0.2431 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A9417 #411794
analogous
#947F17 #6A9417 #2B9417
triadic
#6A9417 #176A94 #94176A
tetradic
#6A9417 #17947F #411794 #94172B
square
#6A9417 #17947F #411794 #94172B
split-complementary
#6A9417 #172B94 #7F1794
monochromatic
#1E2A07 #445F0F #6A9417 #90C91F #ADE244

Accessibility & contrast

On white

3.58
#6A9417 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#6A9417 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A9417
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A9417#FFFFFF#000000##000000
##6A94171.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8900
Deuteranopia (green-blind)
#968626
Tritanopia (blue-blind)
#6E8D7E
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #6a9417;
/* rgb */ color: rgb(106, 148, 23);
/* oklch */ color: oklch(61.3% 0.152 127.7);
Tailwind
colors: {
  custom: {
    50: '#99b362',
    500: '#6a9417',
    950: '#000000',
  },
}
SCSS
$custom: #6a9417;
$custom-light: #99b362;
$custom-dark: #000000;
JSON
{
  "hex": "#6a9417",
  "rgb": {
    "r": 106,
    "g": 148,
    "b": 23
  },
  "hsl": {
    "h": 80.16,
    "s": 73.099,
    "l": 33.529
  },
  "oklch": {
    "l": 0.61327,
    "c": 0.15159,
    "h": 127.7
  },
  "luminance": 0.24306
}

Semantic roles & 50–950 ramp

primary
#6A9417
secondary
#6F44C3
accent
#38F076
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1106
muted
#7E807A

Preview Lab

Preview with #6A9417

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

Preview Lab → · Contrast checker → · Palette generator →

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