#6B8F17#6B8F17

#6B8F17 is a mid, vivid yellow-green. Relative luminance 0.228; OKLCH L 60.1% C 0.145 H 126.0°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#6B8F17
RGBrgb(107, 143, 23)
HSLhsl(78, 72%, 33%)
HSVhsv(78, 84%, 56%)
CMYKcmyk(25.2%, 0%, 83.9%, 43.9%)
CIE-LABlab(54.90, -29.29, 53.75)
CIE-LCHlch(54.90, 61.21, 118.59°)
OKLaboklab(60.13% -0.0852 0.1172)
OKLCHoklch(60.13% 0.145 126)
XYZxyz(16.0406, 22.8323, 4.3724)
Luminance0.2283 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B8F17 #3B178F
analogous
#8F7717 #6B8F17 #2F8F17
triadic
#6B8F17 #176B8F #8F176B
tetradic
#6B8F17 #178F77 #3B178F #8F172F
square
#6B8F17 #178F77 #3B178F #8F172F
split-complementary
#6B8F17 #172F8F #77178F
monochromatic
#1C2606 #445A0F #6B8F17 #92C41F #B0E040

Accessibility & contrast

On white

3.77
#6B8F17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#6B8F17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B8F17
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B8F17#FFFFFF#000000##000000
##6B8F171.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#928325
Tritanopia (blue-blind)
#70887A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #6b8f17;
/* rgb */ color: rgb(107, 143, 23);
/* oklch */ color: oklch(60.1% 0.145 126.0);
Tailwind
colors: {
  custom: {
    50: '#99b061',
    500: '#6b8f17',
    950: '#000000',
  },
}
SCSS
$custom: #6b8f17;
$custom-light: #99b061;
$custom-dark: #000000;
JSON
{
  "hex": "#6b8f17",
  "rgb": {
    "r": 107,
    "g": 143,
    "b": 23
  },
  "hsl": {
    "h": 78,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.6013,
    "c": 0.14492,
    "h": 126
  },
  "luminance": 0.22833
}

Semantic roles & 50–950 ramp

primary
#6B8F17
secondary
#6741C1
accent
#39EF6F
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #6B8F17

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

Preview Lab → · Contrast checker → · Palette generator →

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