#6E8318#6E8318

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

Color values

HEX#6E8318
RGBrgb(110, 131, 24)
HSLhsl(72, 69%, 30%)
HSVhsv(72, 82%, 51%)
CMYKcmyk(16%, 0%, 81.7%, 48.6%)
CIE-LABlab(51.40, -22.05, 50.42)
CIE-LCHlch(51.40, 55.03, 113.62°)
OKLaboklab(57.35% -0.0656 0.1102)
OKLCHoklch(57.35% 0.128 120.7)
XYZxyz(14.7119, 19.6136, 3.8747)
Luminance0.1961 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E8318 #2D1883
analogous
#836218 #6E8318 #388318
triadic
#6E8318 #186E83 #83186E
tetradic
#6E8318 #188362 #2D1883 #831838
square
#6E8318 #188362 #2D1883 #831838
split-complementary
#6E8318 #183883 #621883
monochromatic
#171C05 #434F0F #6E8318 #99B721 #BBDB3A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6E8318#FFFFFF#000000##000000
##6E83181.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)
#897B23
Tritanopia (blue-blind)
#757C6F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #6e8318;
/* rgb */ color: rgb(110, 131, 24);
/* oklch */ color: oklch(57.4% 0.128 120.7);
Tailwind
colors: {
  custom: {
    50: '#9ba760',
    500: '#6e8318',
    950: '#000000',
  },
}
SCSS
$custom: #6e8318;
$custom-light: #9ba760;
$custom-dark: #000000;
JSON
{
  "hex": "#6e8318",
  "rgb": {
    "r": 110,
    "g": 131,
    "b": 24
  },
  "hsl": {
    "h": 71.776,
    "s": 69.032,
    "l": 30.392
  },
  "oklch": {
    "l": 0.57351,
    "c": 0.12825,
    "h": 120.7
  },
  "luminance": 0.19614
}

Semantic roles & 50–950 ramp

primary
#6E8318
secondary
#5740B7
accent
#3CEC5E
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6E8318

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

Preview Lab → · Contrast checker → · Palette generator →

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