#6F8D26#6F8D26

#6F8D26 is a mid, vivid yellow-green. Relative luminance 0.226; OKLCH L 60.0% C 0.132 H 124.6°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#6F8D26
RGBrgb(111, 141, 38)
HSLhsl(77, 58%, 35%)
HSVhsv(77, 73%, 55%)
CMYKcmyk(21.3%, 0%, 73%, 44.7%)
CIE-LABlab(54.63, -25.89, 48.63)
CIE-LCHlch(54.63, 55.10, 118.03°)
OKLaboklab(60% -0.075 0.1089)
OKLCHoklch(60% 0.132 124.6)
XYZxyz(16.4304, 22.5690, 5.3240)
Luminance0.2257 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F8D26 #44268D
analogous
#8D7826 #6F8D26 #3B8D26
triadic
#6F8D26 #266F8D #8D266F
tetradic
#6F8D26 #268D78 #44268D #8D263B
square
#6F8D26 #268D78 #44268D #8D263B
split-complementary
#6F8D26 #263B8D #78268D
monochromatic
#232D0C #495D19 #6F8D26 #95BD33 #B0D35B

Accessibility & contrast

On white

3.81
#6F8D26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#6F8D26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6F8D26
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F8D26#FFFFFF#000000##000000
##6F8D261.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#958414
Deuteranopia (green-blind)
#91822F
Tritanopia (blue-blind)
#748679
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #6f8d26;
/* rgb */ color: rgb(111, 141, 38);
/* oklch */ color: oklch(60.0% 0.132 124.6);
Tailwind
colors: {
  custom: {
    50: '#9bae68',
    500: '#6f8d26',
    950: '#000000',
  },
}
SCSS
$custom: #6f8d26;
$custom-light: #9bae68;
$custom-dark: #000000;
JSON
{
  "hex": "#6f8d26",
  "rgb": {
    "r": 111,
    "g": 141,
    "b": 38
  },
  "hsl": {
    "h": 77.476,
    "s": 57.542,
    "l": 35.098
  },
  "oklch": {
    "l": 0.60003,
    "c": 0.13219,
    "h": 124.6
  },
  "luminance": 0.22569
}

Semantic roles & 50–950 ramp

primary
#6F8D26
secondary
#7357B8
accent
#47E174
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6F8D26

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

Preview Lab → · Contrast checker → · Palette generator →

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