#6E7F1B#6E7F1B

#6E7F1B is a mid, vivid yellow-green. Relative luminance 0.186; OKLCH L 56.4% C 0.122 H 119.1°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#6E7F1B
RGBrgb(110, 127, 27)
HSLhsl(70, 65%, 30%)
HSVhsv(70, 79%, 50%)
CMYKcmyk(13.4%, 0%, 78.7%, 50.2%)
CIE-LABlab(50.18, -19.85, 48.34)
CIE-LCHlch(50.18, 52.26, 112.33°)
OKLaboklab(56.38% -0.0593 0.1064)
OKLCHoklch(56.38% 0.122 119.1)
XYZxyz(14.2179, 18.5730, 3.8726)
Luminance0.1857 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E7F1B #2C1B7F
analogous
#7F5E1B #6E7F1B #3C7F1B
triadic
#6E7F1B #1B6E7F #7F1B6E
tetradic
#6E7F1B #1B7F5E #2C1B7F #7F1B3C
square
#6E7F1B #1B7F5E #2C1B7F #7F1B3C
split-complementary
#6E7F1B #1B3C7F #5E1B7F
monochromatic
#171A06 #424D10 #6E7F1B #9AB126 #BCD63E

Accessibility & contrast

On white

4.45
#6E7F1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#6E7F1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6E7F1B
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E7F1B#FFFFFF#000000##000000
##6E7F1B1.004.454.714.71
#FFFFFF4.451.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#887702
Deuteranopia (green-blind)
#867824
Tritanopia (blue-blind)
#75786C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #6e7f1b;
/* rgb */ color: rgb(110, 127, 27);
/* oklch */ color: oklch(56.4% 0.122 119.1);
Tailwind
colors: {
  custom: {
    50: '#9ba460',
    500: '#6e7f1b',
    950: '#000000',
  },
}
SCSS
$custom: #6e7f1b;
$custom-light: #9ba460;
$custom-dark: #000000;
JSON
{
  "hex": "#6e7f1b",
  "rgb": {
    "r": 110,
    "g": 127,
    "b": 27
  },
  "hsl": {
    "h": 70.2,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.56377,
    "c": 0.12177,
    "h": 119.1
  },
  "luminance": 0.18573
}

Semantic roles & 50–950 ramp

primary
#6E7F1B
secondary
#5643B3
accent
#40E85C
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6E7F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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