#6A9017#6A9017

#6A9017 is a mid, vivid yellow-green. Relative luminance 0.231; OKLCH L 60.3% C 0.147 H 126.6°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#6A9017
RGBrgb(106, 144, 23)
HSLhsl(79, 72%, 33%)
HSVhsv(79, 84%, 56%)
CMYKcmyk(26.4%, 0%, 84%, 43.5%)
CIE-LABlab(55.15, -30.18, 53.95)
CIE-LCHlch(55.15, 61.81, 119.22°)
OKLaboklab(60.32% -0.0875 0.1177)
OKLCHoklch(60.32% 0.147 126.6)
XYZxyz(16.0719, 23.0722, 4.4171)
Luminance0.2307 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A9017 #3D1790
analogous
#907917 #6A9017 #2D9017
triadic
#6A9017 #176A90 #90176A
tetradic
#6A9017 #179079 #3D1790 #90172D
square
#6A9017 #179079 #3D1790 #90172D
split-complementary
#6A9017 #172D90 #791790
monochromatic
#1C2606 #435B0F #6A9017 #91C51F #AEE141

Accessibility & contrast

On white

3.74
#6A9017 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#6A9017 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A9017
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A9017#FFFFFF#000000##000000
##6A90171.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#988600
Deuteranopia (green-blind)
#938325
Tritanopia (blue-blind)
#6F897A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #6a9017;
/* rgb */ color: rgb(106, 144, 23);
/* oklch */ color: oklch(60.3% 0.147 126.6);
Tailwind
colors: {
  custom: {
    50: '#99b061',
    500: '#6a9017',
    950: '#000000',
  },
}
SCSS
$custom: #6a9017;
$custom-light: #99b061;
$custom-dark: #000000;
JSON
{
  "hex": "#6a9017",
  "rgb": {
    "r": 106,
    "g": 144,
    "b": 23
  },
  "hsl": {
    "h": 78.843,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.60315,
    "c": 0.14667,
    "h": 126.6
  },
  "luminance": 0.23073
}

Semantic roles & 50–950 ramp

primary
#6A9017
secondary
#6A42C1
accent
#39EF72
background
#F9FAF6
surface
#F2F5EB
border
#CCCFC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #6A9017

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

Preview Lab → · Contrast checker → · Palette generator →

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