#6E8A1B#6E8A1B

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

Color values

HEX#6E8A1B
RGBrgb(110, 138, 27)
HSLhsl(75, 67%, 32%)
HSVhsv(75, 80%, 54%)
CMYKcmyk(20.3%, 0%, 80.4%, 45.9%)
CIE-LABlab(53.57, -25.43, 51.46)
CIE-LCHlch(53.57, 57.40, 116.29°)
OKLaboklab(59.11% -0.0746 0.113)
OKLCHoklch(59.11% 0.135 123.4)
XYZxyz(15.7169, 21.5710, 4.3723)
Luminance0.2157 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E8A1B #371B8A
analogous
#8A6F1B #6E8A1B #378A1B
triadic
#6E8A1B #1B6E8A #8A1B6E
tetradic
#6E8A1B #1B8A6F #371B8A #8A1B37
square
#6E8A1B #1B8A6F #371B8A #8A1B37
split-complementary
#6E8A1B #1B378A #6F1B8A
monochromatic
#1C2407 #455711 #6E8A1B #97BD25 #B5DB45

Accessibility & contrast

On white

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

On black

5.31
#6E8A1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6E8A1B
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E8A1B#FFFFFF#000000##000000
##6E8A1B1.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6e8a1b;
/* rgb */ color: rgb(110, 138, 27);
/* oklch */ color: oklch(59.1% 0.135 123.4);
Tailwind
colors: {
  custom: {
    50: '#9bac62',
    500: '#6e8a1b',
    950: '#000000',
  },
}
SCSS
$custom: #6e8a1b;
$custom-light: #9bac62;
$custom-dark: #000000;
JSON
{
  "hex": "#6e8a1b",
  "rgb": {
    "r": 110,
    "g": 138,
    "b": 27
  },
  "hsl": {
    "h": 75.135,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.5911,
    "c": 0.13535,
    "h": 123.4
  },
  "luminance": 0.21571
}

Semantic roles & 50–950 ramp

primary
#6E8A1B
secondary
#6345BC
accent
#3EEA69
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6E8A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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