#6E8D1F#6E8D1F

#6E8D1F is a mid, vivid yellow-green. Relative luminance 0.225; OKLCH L 59.9% C 0.137 H 124.6°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#6E8D1F
RGBrgb(110, 141, 31)
HSLhsl(77, 64%, 34%)
HSVhsv(77, 78%, 55%)
CMYKcmyk(22%, 0%, 78%, 44.7%)
CIE-LABlab(54.52, -26.71, 51.03)
CIE-LCHlch(54.52, 57.60, 117.62°)
OKLaboklab(59.88% -0.0777 0.1128)
OKLCHoklch(59.88% 0.137 124.6)
XYZxyz(16.2028, 22.4635, 4.7783)
Luminance0.2246 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E8D1F #3E1F8D
analogous
#8D751F #6E8D1F #378D1F
triadic
#6E8D1F #1F6E8D #8D1F6E
tetradic
#6E8D1F #1F8D75 #3E1F8D #8D1F37
square
#6E8D1F #1F8D75 #3E1F8D #8D1F37
split-complementary
#6E8D1F #1F378D #751F8D
monochromatic
#202909 #475B14 #6E8D1F #95BF2A #B1D84E

Accessibility & contrast

On white

3.82
#6E8D1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#6E8D1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6E8D1F
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E8D1F#FFFFFF#000000##000000
##6E8D1F1.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#958303
Deuteranopia (green-blind)
#91822A
Tritanopia (blue-blind)
#738678
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #6e8d1f;
/* rgb */ color: rgb(110, 141, 31);
/* oklch */ color: oklch(59.9% 0.137 124.6);
Tailwind
colors: {
  custom: {
    50: '#9bae64',
    500: '#6e8d1f',
    950: '#000000',
  },
}
SCSS
$custom: #6e8d1f;
$custom-light: #9bae64;
$custom-dark: #000000;
JSON
{
  "hex": "#6e8d1f",
  "rgb": {
    "r": 110,
    "g": 141,
    "b": 31
  },
  "hsl": {
    "h": 76.909,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.59883,
    "c": 0.13697,
    "h": 124.6
  },
  "luminance": 0.22464
}

Semantic roles & 50–950 ramp

primary
#6E8D1F
secondary
#6C4DBB
accent
#41E770
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6E8D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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