#6F9D1F#6F9D1F

#6F9D1F is a light, vivid yellow-green. Relative luminance 0.276; OKLCH L 64.0% C 0.157 H 128.4°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#6F9D1F
RGBrgb(111, 157, 31)
HSLhsl(82, 67%, 37%)
HSVhsv(82, 80%, 62%)
CMYKcmyk(29.3%, 0%, 80.3%, 38.4%)
CIE-LABlab(59.52, -33.88, 55.70)
CIE-LCHlch(59.52, 65.19, 121.31°)
OKLaboklab(63.96% -0.0973 0.1226)
OKLCHoklch(63.96% 0.157 128.4)
XYZxyz(18.8598, 27.5919, 5.6282)
Luminance0.2759 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F9D1F #4D1F9D
analogous
#9D8C1F #6F9D1F #309D1F
triadic
#6F9D1F #1F6F9D #9D1F6F
tetradic
#6F9D1F #1F9D8C #4D1F9D #9D1F30
square
#6F9D1F #1F9D8C #4D1F9D #9D1F30
split-complementary
#6F9D1F #1F309D #8C1F9D
monochromatic
#27370B #4B6A15 #6F9D1F #93D029 #ADDE58

Accessibility & contrast

On white

3.22
#6F9D1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#6F9D1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6F9D1F
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F9D1F#FFFFFF#000000##000000
##6F9D1F1.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6f9d1f;
/* rgb */ color: rgb(111, 157, 31);
/* oklch */ color: oklch(64.0% 0.157 128.4);
Tailwind
colors: {
  custom: {
    50: '#9dba66',
    500: '#6f9d1f',
    950: '#000000',
  },
}
SCSS
$custom: #6f9d1f;
$custom-light: #9dba66;
$custom-dark: #000000;
JSON
{
  "hex": "#6f9d1f",
  "rgb": {
    "r": 111,
    "g": 157,
    "b": 31
  },
  "hsl": {
    "h": 81.905,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.6396,
    "c": 0.1565,
    "h": 128.4
  },
  "luminance": 0.27592
}

Semantic roles & 50–950 ramp

primary
#6F9D1F
secondary
#7D56C2
accent
#3EEA7D
background
#FAFBF6
surface
#F3F6EB
border
#CDD0C6
text
#0F1106
muted
#7F807A

Preview Lab

Preview with #6F9D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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