#6E9D1F#6E9D1F

#6E9D1F is a light, vivid yellow-green. Relative luminance 0.275; OKLCH L 63.9% C 0.157 H 128.8°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#6E9D1F
RGBrgb(110, 157, 31)
HSLhsl(82, 67%, 37%)
HSVhsv(82, 80%, 62%)
CMYKcmyk(29.9%, 0%, 80.3%, 38.4%)
CIE-LABlab(59.46, -34.27, 55.63)
CIE-LCHlch(59.46, 65.34, 121.64°)
OKLaboklab(63.9% -0.0983 0.1224)
OKLCHoklch(63.9% 0.157 128.8)
XYZxyz(18.7347, 27.5274, 5.6223)
Luminance0.2753 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E9D1F #4E1F9D
analogous
#9D8D1F #6E9D1F #2F9D1F
triadic
#6E9D1F #1F6E9D #9D1F6E
tetradic
#6E9D1F #1F9D8D #4E1F9D #9D1F2F
square
#6E9D1F #1F9D8D #4E1F9D #9D1F2F
split-complementary
#6E9D1F #1F2F9D #8D1F9D
monochromatic
#26370B #4A6A15 #6E9D1F #92D029 #ACDE58

Accessibility & contrast

On white

3.23
#6E9D1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#6E9D1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6E9D1F
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E9D1F#FFFFFF#000000##000000
##6E9D1F1.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#9F8E2D
Tritanopia (blue-blind)
#729686
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #6e9d1f;
/* rgb */ color: rgb(110, 157, 31);
/* oklch */ color: oklch(63.9% 0.157 128.8);
Tailwind
colors: {
  custom: {
    50: '#9cba66',
    500: '#6e9d1f',
    950: '#000000',
  },
}
SCSS
$custom: #6e9d1f;
$custom-light: #9cba66;
$custom-dark: #000000;
JSON
{
  "hex": "#6e9d1f",
  "rgb": {
    "r": 110,
    "g": 157,
    "b": 31
  },
  "hsl": {
    "h": 82.381,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.63896,
    "c": 0.15702,
    "h": 128.8
  },
  "luminance": 0.27528
}

Semantic roles & 50–950 ramp

primary
#6E9D1F
secondary
#7E56C2
accent
#3EEA7E
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0F1106
muted
#7E807A

Preview Lab

Preview with #6E9D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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