#6F8618#6F8618

#6F8618 is a mid, vivid yellow-green. Relative luminance 0.205; OKLCH L 58.2% C 0.131 H 121.4°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#6F8618
RGBrgb(111, 134, 24)
HSLhsl(73, 70%, 31%)
HSVhsv(73, 82%, 53%)
CMYKcmyk(17.2%, 0%, 82.1%, 47.5%)
CIE-LABlab(52.39, -23.13, 51.34)
CIE-LCHlch(52.39, 56.31, 114.25°)
OKLaboklab(58.17% -0.0686 0.1122)
OKLCHoklch(58.17% 0.131 121.4)
XYZxyz(15.2458, 20.4956, 4.0169)
Luminance0.2050 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F8618 #2F1886
analogous
#866618 #6F8618 #388618
triadic
#6F8618 #186F86 #86186F
tetradic
#6F8618 #188666 #2F1886 #861838
square
#6F8618 #188666 #2F1886 #861838
split-complementary
#6F8618 #183886 #661886
monochromatic
#191E05 #44520F #6F8618 #9ABA21 #BBDC3C

Accessibility & contrast

On white

4.12
#6F8618 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#6F8618 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6F8618
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F8618#FFFFFF#000000##000000
##6F86181.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7D00
Deuteranopia (green-blind)
#8C7D23
Tritanopia (blue-blind)
#767F72
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #6f8618;
/* rgb */ color: rgb(111, 134, 24);
/* oklch */ color: oklch(58.2% 0.131 121.4);
Tailwind
colors: {
  custom: {
    50: '#9ca960',
    500: '#6f8618',
    950: '#000000',
  },
}
SCSS
$custom: #6f8618;
$custom-light: #9ca960;
$custom-dark: #000000;
JSON
{
  "hex": "#6f8618",
  "rgb": {
    "r": 111,
    "g": 134,
    "b": 24
  },
  "hsl": {
    "h": 72.545,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.58173,
    "c": 0.13146,
    "h": 121.4
  },
  "luminance": 0.20496
}

Semantic roles & 50–950 ramp

primary
#6F8618
secondary
#5940BA
accent
#3BEC60
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0F0F05
muted
#7E7F79

Preview Lab

Preview with #6F8618

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

Preview Lab → · Contrast checker → · Palette generator →

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