#6E8317#6E8317

#6E8317 is a mid, vivid yellow-green. Relative luminance 0.196; OKLCH L 57.3% C 0.129 H 120.7°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#6E8317
RGBrgb(110, 131, 23)
HSLhsl(72, 70%, 30%)
HSVhsv(72, 82%, 51%)
CMYKcmyk(16%, 0%, 82.4%, 48.6%)
CIE-LABlab(51.39, -22.09, 50.72)
CIE-LCHlch(51.39, 55.32, 113.53°)
OKLaboklab(57.35% -0.0657 0.1107)
OKLCHoklch(57.35% 0.129 120.7)
XYZxyz(14.7016, 19.6095, 3.8210)
Luminance0.1961 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E8317 #2C1783
analogous
#836217 #6E8317 #388317
triadic
#6E8317 #176E83 #83176E
tetradic
#6E8317 #178362 #2C1783 #831738
square
#6E8317 #178362 #2C1783 #831738
split-complementary
#6E8317 #173883 #621783
monochromatic
#171B05 #424F0E #6E8317 #9AB720 #BCDC38

Accessibility & contrast

On white

4.27
#6E8317 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#6E8317 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6E8317
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E8317#FFFFFF#000000##000000
##6E83171.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#897B22
Tritanopia (blue-blind)
#757C6F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #6e8317;
/* rgb */ color: rgb(110, 131, 23);
/* oklch */ color: oklch(57.3% 0.129 120.7);
Tailwind
colors: {
  custom: {
    50: '#9ba75f',
    500: '#6e8317',
    950: '#000000',
  },
}
SCSS
$custom: #6e8317;
$custom-light: #9ba75f;
$custom-dark: #000000;
JSON
{
  "hex": "#6e8317",
  "rgb": {
    "r": 110,
    "g": 131,
    "b": 23
  },
  "hsl": {
    "h": 71.667,
    "s": 70.13,
    "l": 30.196
  },
  "oklch": {
    "l": 0.57346,
    "c": 0.12874,
    "h": 120.7
  },
  "luminance": 0.19609
}

Semantic roles & 50–950 ramp

primary
#6E8317
secondary
#563FB7
accent
#3BED5E
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6E8317

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

Preview Lab → · Contrast checker → · Palette generator →

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