#6B8F15#6B8F15

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

Color values

HEX#6B8F15
RGBrgb(107, 143, 21)
HSLhsl(78, 74%, 32%)
HSVhsv(78, 85%, 56%)
CMYKcmyk(25.2%, 0%, 85.3%, 43.9%)
CIE-LABlab(54.89, -29.37, 54.27)
CIE-LCHlch(54.89, 61.71, 118.42°)
OKLaboklab(60.12% -0.0855 0.118)
OKLCHoklch(60.12% 0.146 125.9)
XYZxyz(16.0213, 22.8246, 4.2708)
Luminance0.2283 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B8F15 #39158F
analogous
#8F7615 #6B8F15 #2E8F15
triadic
#6B8F15 #156B8F #8F156B
tetradic
#6B8F15 #158F76 #39158F #8F152E
square
#6B8F15 #158F76 #39158F #8F152E
split-complementary
#6B8F15 #152E8F #76158F
monochromatic
#1B2405 #435A0D #6B8F15 #93C41D #B1E23C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B8F15#FFFFFF#000000##000000
##6B8F151.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)
#928324
Tritanopia (blue-blind)
#708879
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #6b8f15;
/* rgb */ color: rgb(107, 143, 21);
/* oklch */ color: oklch(60.1% 0.146 125.9);
Tailwind
colors: {
  custom: {
    50: '#99b060',
    500: '#6b8f15',
    950: '#000000',
  },
}
SCSS
$custom: #6b8f15;
$custom-light: #99b060;
$custom-dark: #000000;
JSON
{
  "hex": "#6b8f15",
  "rgb": {
    "r": 107,
    "g": 143,
    "b": 21
  },
  "hsl": {
    "h": 77.705,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.60121,
    "c": 0.14575,
    "h": 125.9
  },
  "luminance": 0.22825
}

Semantic roles & 50–950 ramp

primary
#6B8F15
secondary
#653EC2
accent
#37F16E
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #6B8F15

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

Preview Lab → · Contrast checker → · Palette generator →

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