#6F8E15#6F8E15

#6F8E15 is a mid, vivid yellow-green. Relative luminance 0.228; OKLCH L 60.2% C 0.143 H 124.1°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#6F8E15
RGBrgb(111, 142, 21)
HSLhsl(75, 74%, 32%)
HSVhsv(75, 85%, 56%)
CMYKcmyk(21.8%, 0%, 85.2%, 44.3%)
CIE-LABlab(54.84, -27.21, 54.33)
CIE-LCHlch(54.84, 60.77, 116.60°)
OKLaboklab(60.15% -0.0799 0.118)
OKLCHoklch(60.15% 0.143 124.1)
XYZxyz(16.3641, 22.7795, 4.2441)
Luminance0.2278 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F8E15 #34158E
analogous
#8E7115 #6F8E15 #338E15
triadic
#6F8E15 #156F8E #8E156F
tetradic
#6F8E15 #158E71 #34158E #8E1533
square
#6F8E15 #158E71 #34158E #8E1533
split-complementary
#6F8E15 #15338E #71158E
monochromatic
#1C2305 #45590D #6F8E15 #99C31D #B7E23B

Accessibility & contrast

On white

3.78
#6F8E15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#6F8E15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6F8E15
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F8E15#FFFFFF#000000##000000
##6F8E151.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#978400
Deuteranopia (green-blind)
#928323
Tritanopia (blue-blind)
#758779
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #6f8e15;
/* rgb */ color: rgb(111, 142, 21);
/* oklch */ color: oklch(60.2% 0.143 124.1);
Tailwind
colors: {
  custom: {
    50: '#9caf60',
    500: '#6f8e15',
    950: '#000000',
  },
}
SCSS
$custom: #6f8e15;
$custom-light: #9caf60;
$custom-dark: #000000;
JSON
{
  "hex": "#6f8e15",
  "rgb": {
    "r": 111,
    "g": 142,
    "b": 21
  },
  "hsl": {
    "h": 75.372,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.60152,
    "c": 0.14253,
    "h": 124.1
  },
  "luminance": 0.2278
}

Semantic roles & 50–950 ramp

primary
#6F8E15
secondary
#5F3DC2
accent
#37F167
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0F1005
muted
#7E7F7A

Preview Lab

Preview with #6F8E15

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

Preview Lab → · Contrast checker → · Palette generator →

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