#6E8A1F#6E8A1F

#6E8A1F is a mid, vivid yellow-green. Relative luminance 0.216; OKLCH L 59.1% C 0.133 H 123.6°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#6E8A1F
RGBrgb(110, 138, 31)
HSLhsl(76, 63%, 33%)
HSVhsv(76, 78%, 54%)
CMYKcmyk(20.3%, 0%, 77.5%, 45.9%)
CIE-LABlab(53.59, -25.23, 50.16)
CIE-LCHlch(53.59, 56.15, 116.70°)
OKLaboklab(59.13% -0.0737 0.1109)
OKLCHoklch(59.13% 0.133 123.6)
XYZxyz(15.7664, 21.5908, 4.6329)
Luminance0.2159 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E8A1F #3B1F8A
analogous
#8A701F #6E8A1F #388A1F
triadic
#6E8A1F #1F6E8A #8A1F6E
tetradic
#6E8A1F #1F8A70 #3B1F8A #8A1F38
square
#6E8A1F #1F8A70 #3B1F8A #8A1F38
split-complementary
#6E8A1F #1F388A #701F8A
monochromatic
#1E2609 #465814 #6E8A1F #96BC2A #B3D74C

Accessibility & contrast

On white

3.95
#6E8A1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#6E8A1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6E8A1F
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E8A1F#FFFFFF#000000##000000
##6E8A1F1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#928105
Deuteranopia (green-blind)
#8F8029
Tritanopia (blue-blind)
#748376
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6e8a1f;
/* rgb */ color: rgb(110, 138, 31);
/* oklch */ color: oklch(59.1% 0.133 123.6);
Tailwind
colors: {
  custom: {
    50: '#9bac64',
    500: '#6e8a1f',
    950: '#000000',
  },
}
SCSS
$custom: #6e8a1f;
$custom-light: #9bac64;
$custom-dark: #000000;
JSON
{
  "hex": "#6e8a1f",
  "rgb": {
    "r": 110,
    "g": 138,
    "b": 31
  },
  "hsl": {
    "h": 75.701,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.59134,
    "c": 0.13318,
    "h": 123.6
  },
  "luminance": 0.21591
}

Semantic roles & 50–950 ramp

primary
#6E8A1F
secondary
#684BBA
accent
#41E66D
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6E8A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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