#6E9C1F#6E9C1F

#6E9C1F is a light, vivid yellow-green. Relative luminance 0.272; OKLCH L 63.6% C 0.156 H 128.5°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#6E9C1F
RGBrgb(110, 156, 31)
HSLhsl(82, 67%, 37%)
HSVhsv(82, 80%, 61%)
CMYKcmyk(29.5%, 0%, 80.1%, 38.8%)
CIE-LABlab(59.15, -33.81, 55.34)
CIE-LCHlch(59.15, 64.85, 121.42°)
OKLaboklab(63.65% -0.0971 0.1218)
OKLCHoklch(63.65% 0.156 128.5)
XYZxyz(18.5662, 27.1904, 5.5661)
Luminance0.2719 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E9C1F #4D1F9C
analogous
#9C8C1F #6E9C1F #309C1F
triadic
#6E9C1F #1F6E9C #9C1F6E
tetradic
#6E9C1F #1F9C8C #4D1F9C #9C1F30
square
#6E9C1F #1F9C8C #4D1F9C #9C1F30
split-complementary
#6E9C1F #1F309C #8C1F9C
monochromatic
#26360B #4A6915 #6E9C1F #92CF29 #ACDE58

Accessibility & contrast

On white

3.26
#6E9C1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#6E9C1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6E9C1F
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E9C1F#FFFFFF#000000##000000
##6E9C1F1.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49000
Deuteranopia (green-blind)
#9E8D2C
Tritanopia (blue-blind)
#729585
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #6e9c1f;
/* rgb */ color: rgb(110, 156, 31);
/* oklch */ color: oklch(63.6% 0.156 128.5);
Tailwind
colors: {
  custom: {
    50: '#9cb966',
    500: '#6e9c1f',
    950: '#000000',
  },
}
SCSS
$custom: #6e9c1f;
$custom-light: #9cb966;
$custom-dark: #000000;
JSON
{
  "hex": "#6e9c1f",
  "rgb": {
    "r": 110,
    "g": 156,
    "b": 31
  },
  "hsl": {
    "h": 82.08,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.63645,
    "c": 0.15578,
    "h": 128.5
  },
  "luminance": 0.27191
}

Semantic roles & 50–950 ramp

primary
#6E9C1F
secondary
#7D55C1
accent
#3EEA7D
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0F1106
muted
#7E807A

Preview Lab

Preview with #6E9C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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