#6F9C1F#6F9C1F

#6F9C1F is a light, vivid yellow-green. Relative luminance 0.273; OKLCH L 63.7% C 0.155 H 128.2°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#6F9C1F
RGBrgb(111, 156, 31)
HSLhsl(82, 67%, 37%)
HSVhsv(82, 80%, 61%)
CMYKcmyk(28.8%, 0%, 80.1%, 38.8%)
CIE-LABlab(59.21, -33.42, 55.42)
CIE-LCHlch(59.21, 64.71, 121.09°)
OKLaboklab(63.71% -0.0961 0.122)
OKLCHoklch(63.71% 0.155 128.2)
XYZxyz(18.6914, 27.2549, 5.5720)
Luminance0.2726 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F9C1F #4C1F9C
analogous
#9C8B1F #6F9C1F #319C1F
triadic
#6F9C1F #1F6F9C #9C1F6F
tetradic
#6F9C1F #1F9C8B #4C1F9C #9C1F31
square
#6F9C1F #1F9C8B #4C1F9C #9C1F31
split-complementary
#6F9C1F #1F319C #8B1F9C
monochromatic
#26360B #4B6915 #6F9C1F #93CF29 #ADDE58

Accessibility & contrast

On white

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

On black

6.45
#6F9C1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6F9C1F
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F9C1F#FFFFFF#000000##000000
##6F9C1F1.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6f9c1f;
/* rgb */ color: rgb(111, 156, 31);
/* oklch */ color: oklch(63.7% 0.155 128.2);
Tailwind
colors: {
  custom: {
    50: '#9db966',
    500: '#6f9c1f',
    950: '#000000',
  },
}
SCSS
$custom: #6f9c1f;
$custom-light: #9db966;
$custom-dark: #000000;
JSON
{
  "hex": "#6f9c1f",
  "rgb": {
    "r": 111,
    "g": 156,
    "b": 31
  },
  "hsl": {
    "h": 81.6,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.63709,
    "c": 0.15526,
    "h": 128.2
  },
  "luminance": 0.27255
}

Semantic roles & 50–950 ramp

primary
#6F9C1F
secondary
#7C55C1
accent
#3EEA7C
background
#FAFBF6
surface
#F3F6EB
border
#CDD0C6
text
#0F1106
muted
#7F807A

Preview Lab

Preview with #6F9C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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