#6E8312#6E8312

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

Color values

HEX#6E8312
RGBrgb(110, 131, 18)
HSLhsl(71, 76%, 29%)
HSVhsv(71, 86%, 51%)
CMYKcmyk(16%, 0%, 86.3%, 48.6%)
CIE-LABlab(51.37, -22.28, 52.08)
CIE-LCHlch(51.37, 56.64, 113.16°)
OKLaboklab(57.32% -0.0666 0.1127)
OKLCHoklch(57.32% 0.131 120.6)
XYZxyz(14.6562, 19.5913, 3.5815)
Luminance0.1959 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E8312 #271283
analogous
#836012 #6E8312 #368312
triadic
#6E8312 #126E83 #83126E
tetradic
#6E8312 #128360 #271283 #831236
square
#6E8312 #128360 #271283 #831236
split-complementary
#6E8312 #123683 #601283
monochromatic
#171B04 #414D0B #6E8312 #9BB919 #C1E22D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #6e8312;
/* rgb */ color: rgb(110, 131, 18);
/* oklch */ color: oklch(57.3% 0.131 120.6);
Tailwind
colors: {
  custom: {
    50: '#9ba75d',
    500: '#6e8312',
    950: '#000000',
  },
}
SCSS
$custom: #6e8312;
$custom-light: #9ba75d;
$custom-dark: #000000;
JSON
{
  "hex": "#6e8312",
  "rgb": {
    "r": 110,
    "g": 131,
    "b": 18
  },
  "hsl": {
    "h": 71.15,
    "s": 75.839,
    "l": 29.216
  },
  "oklch": {
    "l": 0.57322,
    "c": 0.13094,
    "h": 120.6
  },
  "luminance": 0.19591
}

Semantic roles & 50–950 ramp

primary
#6E8312
secondary
#5038B8
accent
#35F259
background
#F9FAF5
surface
#F2F4E9
border
#CCCEC5
text
#0F0F05
muted
#7E7F79

Preview Lab

Preview with #6E8312

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

Preview Lab → · Contrast checker → · Palette generator →

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