#6B9F1F#6B9F1F

#6B9F1F is a light, vivid yellow-green. Relative luminance 0.280; OKLCH L 64.2% C 0.161 H 130.1°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#6B9F1F
RGBrgb(107, 159, 31)
HSLhsl(84, 67%, 37%)
HSVhsv(84, 81%, 62%)
CMYKcmyk(32.7%, 0%, 80.5%, 37.6%)
CIE-LABlab(59.91, -36.33, 55.98)
CIE-LCHlch(59.91, 66.73, 122.99°)
OKLaboklab(64.22% -0.1037 0.1233)
OKLCHoklch(64.22% 0.161 130.1)
XYZxyz(18.7088, 28.0204, 5.7188)
Luminance0.2802 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B9F1F #531F9F
analogous
#9F931F #6B9F1F #2B9F1F
triadic
#6B9F1F #1F6B9F #9F1F6B
tetradic
#6B9F1F #1F9F93 #531F9F #9F1F2B
square
#6B9F1F #1F9F93 #531F9F #9F1F2B
split-complementary
#6B9F1F #1F2B9F #931F9F
monochromatic
#26390B #496C15 #6B9F1F #8DD229 #A9DF5A

Accessibility & contrast

On white

3.18
#6B9F1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#6B9F1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B9F1F
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B9F1F#FFFFFF#000000##000000
##6B9F1F1.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79300
Deuteranopia (green-blind)
#A08F2D
Tritanopia (blue-blind)
#6E9888
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #6b9f1f;
/* rgb */ color: rgb(107, 159, 31);
/* oklch */ color: oklch(64.2% 0.161 130.1);
Tailwind
colors: {
  custom: {
    50: '#9abb67',
    500: '#6b9f1f',
    950: '#000000',
  },
}
SCSS
$custom: #6b9f1f;
$custom-light: #9abb67;
$custom-dark: #000000;
JSON
{
  "hex": "#6b9f1f",
  "rgb": {
    "r": 107,
    "g": 159,
    "b": 31
  },
  "hsl": {
    "h": 84.375,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.64216,
    "c": 0.16107,
    "h": 130.1
  },
  "luminance": 0.28021
}

Semantic roles & 50–950 ramp

primary
#6B9F1F
secondary
#8357C3
accent
#3EEA84
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1206
muted
#7E817A

Preview Lab

Preview with #6B9F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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