#6F8A15#6F8A15

#6F8A15 is a mid, vivid yellow-green. Relative luminance 0.216; OKLCH L 59.2% C 0.138 H 122.8°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#6F8A15
RGBrgb(111, 138, 21)
HSLhsl(74, 74%, 31%)
HSVhsv(74, 85%, 54%)
CMYKcmyk(19.6%, 0%, 84.8%, 45.9%)
CIE-LABlab(53.61, -25.24, 53.26)
CIE-LCHlch(53.61, 58.94, 115.36°)
OKLaboklab(59.15% -0.0746 0.1157)
OKLCHoklch(59.15% 0.138 122.8)
XYZxyz(15.7796, 21.6105, 4.0493)
Luminance0.2161 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F8A15 #30158A
analogous
#8A6A15 #6F8A15 #348A15
triadic
#6F8A15 #156F8A #8A156F
tetradic
#6F8A15 #158A6A #30158A #8A1534
square
#6F8A15 #158A6A #30158A #8A1534
split-complementary
#6F8A15 #15348A #6A158A
monochromatic
#1A2005 #44550D #6F8A15 #9ABF1D #BAE139

Accessibility & contrast

On white

3.95
#6F8A15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#6F8A15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6F8A15
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F8A15#FFFFFF#000000##000000
##6F8A151.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#8F8022
Tritanopia (blue-blind)
#758375
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6f8a15;
/* rgb */ color: rgb(111, 138, 21);
/* oklch */ color: oklch(59.2% 0.138 122.8);
Tailwind
colors: {
  custom: {
    50: '#9cac60',
    500: '#6f8a15',
    950: '#000000',
  },
}
SCSS
$custom: #6f8a15;
$custom-light: #9cac60;
$custom-dark: #000000;
JSON
{
  "hex": "#6f8a15",
  "rgb": {
    "r": 111,
    "g": 138,
    "b": 21
  },
  "hsl": {
    "h": 73.846,
    "s": 73.585,
    "l": 31.176
  },
  "oklch": {
    "l": 0.59154,
    "c": 0.13767,
    "h": 122.8
  },
  "luminance": 0.21611
}

Semantic roles & 50–950 ramp

primary
#6F8A15
secondary
#5B3DBE
accent
#38F062
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0F1005
muted
#7E7F79

Preview Lab

Preview with #6F8A15

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

Preview Lab → · Contrast checker → · Palette generator →

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