#6B8A15#6B8A15

#6B8A15 is a mid, vivid yellow-green. Relative luminance 0.214; OKLCH L 58.9% C 0.140 H 124.4°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#6B8A15
RGBrgb(107, 138, 21)
HSLhsl(76, 74%, 31%)
HSVhsv(76, 85%, 54%)
CMYKcmyk(22.5%, 0%, 84.8%, 45.9%)
CIE-LABlab(53.34, -26.95, 52.92)
CIE-LCHlch(53.34, 59.39, 116.99°)
OKLaboklab(58.86% -0.079 0.1151)
OKLCHoklch(58.86% 0.14 124.4)
XYZxyz(15.2874, 21.3567, 4.0262)
Luminance0.2136 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B8A15 #34158A
analogous
#8A6E15 #6B8A15 #318A15
triadic
#6B8A15 #156B8A #8A156B
tetradic
#6B8A15 #158A6E #34158A #8A1531
square
#6B8A15 #158A6E #34158A #8A1531
split-complementary
#6B8A15 #15318A #6E158A
monochromatic
#192005 #42550D #6B8A15 #94BF1D #B4E139

Accessibility & contrast

On white

3.98
#6B8A15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#6B8A15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B8A15
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B8A15#FFFFFF#000000##000000
##6B8A151.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#8E7F23
Tritanopia (blue-blind)
#718375
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6b8a15;
/* rgb */ color: rgb(107, 138, 21);
/* oklch */ color: oklch(58.9% 0.140 124.4);
Tailwind
colors: {
  custom: {
    50: '#99ac5f',
    500: '#6b8a15',
    950: '#000000',
  },
}
SCSS
$custom: #6b8a15;
$custom-light: #99ac5f;
$custom-dark: #000000;
JSON
{
  "hex": "#6b8a15",
  "rgb": {
    "r": 107,
    "g": 138,
    "b": 21
  },
  "hsl": {
    "h": 75.897,
    "s": 73.585,
    "l": 31.176
  },
  "oklch": {
    "l": 0.58862,
    "c": 0.13962,
    "h": 124.4
  },
  "luminance": 0.21357
}

Semantic roles & 50–950 ramp

primary
#6B8A15
secondary
#5F3DBE
accent
#38F068
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E1005
muted
#7E7F79

Preview Lab

Preview with #6B8A15

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

Preview Lab → · Contrast checker → · Palette generator →

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