#6A8317#6A8317

#6A8317 is a mid, vivid yellow-green. Relative luminance 0.194; OKLCH L 57.0% C 0.131 H 122.6°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#6A8317
RGBrgb(106, 131, 23)
HSLhsl(74, 70%, 30%)
HSVhsv(74, 82%, 51%)
CMYKcmyk(19.1%, 0%, 82.4%, 48.6%)
CIE-LABlab(51.10, -23.84, 50.35)
CIE-LCHlch(51.10, 55.71, 115.34°)
OKLaboklab(57.04% -0.0703 0.11)
OKLCHoklch(57.04% 0.131 122.6)
XYZxyz(14.2150, 19.3586, 3.7981)
Luminance0.1936 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A8317 #301783
analogous
#836617 #6A8317 #348317
triadic
#6A8317 #176A83 #83176A
tetradic
#6A8317 #178366 #301783 #831734
square
#6A8317 #178366 #301783 #831734
split-complementary
#6A8317 #173483 #661783
monochromatic
#161B05 #404F0E #6A8317 #94B720 #B6DC38

Accessibility & contrast

On white

4.31
#6A8317 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#6A8317 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A8317
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A8317#FFFFFF#000000##000000
##6A83171.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#887A22
Tritanopia (blue-blind)
#707C6F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #6a8317;
/* rgb */ color: rgb(106, 131, 23);
/* oklch */ color: oklch(57.0% 0.131 122.6);
Tailwind
colors: {
  custom: {
    50: '#98a75f',
    500: '#6a8317',
    950: '#000000',
  },
}
SCSS
$custom: #6a8317;
$custom-light: #98a75f;
$custom-dark: #000000;
JSON
{
  "hex": "#6a8317",
  "rgb": {
    "r": 106,
    "g": 131,
    "b": 23
  },
  "hsl": {
    "h": 73.889,
    "s": 70.13,
    "l": 30.196
  },
  "oklch": {
    "l": 0.57039,
    "c": 0.13058,
    "h": 122.6
  },
  "luminance": 0.19359
}

Semantic roles & 50–950 ramp

primary
#6A8317
secondary
#5A3FB7
accent
#3BED64
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6A8317

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

Preview Lab → · Contrast checker → · Palette generator →

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