#6E841B#6E841B

#6E841B is a mid, vivid yellow-green. Relative luminance 0.199; OKLCH L 57.6% C 0.128 H 121.2°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#6E841B
RGBrgb(110, 132, 27)
HSLhsl(73, 66%, 31%)
HSVhsv(73, 80%, 52%)
CMYKcmyk(16.7%, 0%, 79.5%, 48.2%)
CIE-LABlab(51.72, -22.42, 49.76)
CIE-LCHlch(51.72, 54.58, 114.25°)
OKLaboklab(57.62% -0.0664 0.1094)
OKLCHoklch(57.62% 0.128 121.2)
XYZxyz(14.8798, 19.8967, 4.0932)
Luminance0.1990 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E841B #311B84
analogous
#84651B #6E841B #39841B
triadic
#6E841B #1B6E84 #841B6E
tetradic
#6E841B #1B8465 #311B84 #841B39
square
#6E841B #1B8465 #311B84 #841B39
split-complementary
#6E841B #1B3984 #651B84
monochromatic
#191E06 #445111 #6E841B #98B725 #B9D841

Accessibility & contrast

On white

4.22
#6E841B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#6E841B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6E841B
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E841B#FFFFFF#000000##000000
##6E841B1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#8A7B25
Tritanopia (blue-blind)
#747D71
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #6e841b;
/* rgb */ color: rgb(110, 132, 27);
/* oklch */ color: oklch(57.6% 0.128 121.2);
Tailwind
colors: {
  custom: {
    50: '#9ba761',
    500: '#6e841b',
    950: '#000000',
  },
}
SCSS
$custom: #6e841b;
$custom-light: #9ba761;
$custom-dark: #000000;
JSON
{
  "hex": "#6e841b",
  "rgb": {
    "r": 110,
    "g": 132,
    "b": 27
  },
  "hsl": {
    "h": 72.571,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.57616,
    "c": 0.12792,
    "h": 121.2
  },
  "luminance": 0.19897
}

Semantic roles & 50–950 ramp

primary
#6E841B
secondary
#5C43B7
accent
#3FE962
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F05
muted
#7E7F7A

Preview Lab

Preview with #6E841B

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

Preview Lab → · Contrast checker → · Palette generator →

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