#6F9417#6F9417

#6F9417 is a mid, vivid yellow-green. Relative luminance 0.246; OKLCH L 61.7% C 0.149 H 125.9°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#6F9417
RGBrgb(111, 148, 23)
HSLhsl(78, 73%, 34%)
HSVhsv(78, 84%, 58%)
CMYKcmyk(25%, 0%, 84.5%, 42%)
CIE-LABlab(56.70, -30.02, 55.44)
CIE-LCHlch(56.70, 63.04, 118.43°)
OKLaboklab(61.66% -0.0874 0.1207)
OKLCHoklch(61.66% 0.149 125.9)
XYZxyz(17.3002, 24.6209, 4.6513)
Luminance0.2462 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F9417 #3C1794
analogous
#947A17 #6F9417 #309417
triadic
#6F9417 #176F94 #94176F
tetradic
#6F9417 #17947A #3C1794 #941730
square
#6F9417 #17947A #3C1794 #941730
split-complementary
#6F9417 #173094 #7A1794
monochromatic
#202A07 #475F0F #6F9417 #97C91F #B3E244

Accessibility & contrast

On white

3.54
#6F9417 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#6F9417 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6F9417
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F9417#FFFFFF#000000##000000
##6F94171.003.545.925.92
#FFFFFF3.541.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8900
Deuteranopia (green-blind)
#978726
Tritanopia (blue-blind)
#748D7E
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #6f9417;
/* rgb */ color: rgb(111, 148, 23);
/* oklch */ color: oklch(61.7% 0.149 125.9);
Tailwind
colors: {
  custom: {
    50: '#9cb362',
    500: '#6f9417',
    950: '#000000',
  },
}
SCSS
$custom: #6f9417;
$custom-light: #9cb362;
$custom-dark: #000000;
JSON
{
  "hex": "#6f9417",
  "rgb": {
    "r": 111,
    "g": 148,
    "b": 23
  },
  "hsl": {
    "h": 77.76,
    "s": 73.099,
    "l": 33.529
  },
  "oklch": {
    "l": 0.61662,
    "c": 0.14902,
    "h": 125.9
  },
  "luminance": 0.24621
}

Semantic roles & 50–950 ramp

primary
#6F9417
secondary
#6A44C3
accent
#38F06E
background
#FAFBF6
surface
#F3F6EB
border
#CDD0C6
text
#0F1106
muted
#7F807A

Preview Lab

Preview with #6F9417

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

Preview Lab → · Contrast checker → · Palette generator →

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