#6B8D15#6B8D15

#6B8D15 is a mid, vivid yellow-green. Relative luminance 0.222; OKLCH L 59.6% C 0.143 H 125.4°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#6B8D15
RGBrgb(107, 141, 21)
HSLhsl(77, 74%, 32%)
HSVhsv(77, 85%, 55%)
CMYKcmyk(24.1%, 0%, 85.1%, 44.7%)
CIE-LABlab(54.27, -28.41, 53.73)
CIE-LCHlch(54.27, 60.78, 117.86°)
OKLaboklab(59.62% -0.0829 0.1169)
OKLCHoklch(59.62% 0.143 125.4)
XYZxyz(15.7238, 22.2295, 4.1716)
Luminance0.2223 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B8D15 #37158D
analogous
#8D7315 #6B8D15 #2F8D15
triadic
#6B8D15 #156B8D #8D156B
tetradic
#6B8D15 #158D73 #37158D #8D152F
square
#6B8D15 #158D73 #37158D #8D152F
split-complementary
#6B8D15 #152F8D #73158D
monochromatic
#1A2205 #43580D #6B8D15 #93C21D #B2E23B

Accessibility & contrast

On white

3.86
#6B8D15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#6B8D15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B8D15
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B8D15#FFFFFF#000000##000000
##6B8D151.003.865.455.45
#FFFFFF3.861.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#918123
Tritanopia (blue-blind)
#708678
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #6b8d15;
/* rgb */ color: rgb(107, 141, 21);
/* oklch */ color: oklch(59.6% 0.143 125.4);
Tailwind
colors: {
  custom: {
    50: '#99ae60',
    500: '#6b8d15',
    950: '#000000',
  },
}
SCSS
$custom: #6b8d15;
$custom-light: #99ae60;
$custom-dark: #000000;
JSON
{
  "hex": "#6b8d15",
  "rgb": {
    "r": 107,
    "g": 141,
    "b": 21
  },
  "hsl": {
    "h": 77,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.59617,
    "c": 0.14329,
    "h": 125.4
  },
  "luminance": 0.2223
}

Semantic roles & 50–950 ramp

primary
#6B8D15
secondary
#623DC1
accent
#37F16C
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #6B8D15

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

Preview Lab → · Contrast checker → · Palette generator →

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