#6C9E1F#6C9E1F

#6C9E1F is a light, vivid yellow-green. Relative luminance 0.277; OKLCH L 64.0% C 0.159 H 129.6°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#6C9E1F
RGBrgb(108, 158, 31)
HSLhsl(84, 67%, 37%)
HSVhsv(84, 80%, 62%)
CMYKcmyk(31.6%, 0%, 80.4%, 38%)
CIE-LABlab(59.65, -35.50, 55.76)
CIE-LCHlch(59.65, 66.10, 122.48°)
OKLaboklab(64.02% -0.1015 0.1228)
OKLCHoklch(64.02% 0.159 129.6)
XYZxyz(18.6585, 27.7402, 5.6674)
Luminance0.2774 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C9E1F #511F9E
analogous
#9E911F #6C9E1F #2D9E1F
triadic
#6C9E1F #1F6C9E #9E1F6C
tetradic
#6C9E1F #1F9E91 #511F9E #9E1F2D
square
#6C9E1F #1F9E91 #511F9E #9E1F2D
split-complementary
#6C9E1F #1F2D9E #911F9E
monochromatic
#26380B #496B15 #6C9E1F #8FD129 #AADE59

Accessibility & contrast

On white

3.21
#6C9E1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#6C9E1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C9E1F
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C9E1F#FFFFFF#000000##000000
##6C9E1F1.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69200
Deuteranopia (green-blind)
#9F8F2D
Tritanopia (blue-blind)
#6F9787
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #6c9e1f;
/* rgb */ color: rgb(108, 158, 31);
/* oklch */ color: oklch(64.0% 0.159 129.6);
Tailwind
colors: {
  custom: {
    50: '#9bbb66',
    500: '#6c9e1f',
    950: '#000000',
  },
}
SCSS
$custom: #6c9e1f;
$custom-light: #9bbb66;
$custom-dark: #000000;
JSON
{
  "hex": "#6c9e1f",
  "rgb": {
    "r": 108,
    "g": 158,
    "b": 31
  },
  "hsl": {
    "h": 83.622,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.64024,
    "c": 0.15931,
    "h": 129.6
  },
  "luminance": 0.27741
}

Semantic roles & 50–950 ramp

primary
#6C9E1F
secondary
#8156C2
accent
#3EEA82
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0F1206
muted
#7E817A

Preview Lab

Preview with #6C9E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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