#6B8916#6B8916

#6B8916 is a mid, vivid yellow-green. Relative luminance 0.211; OKLCH L 58.6% C 0.138 H 124.2°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#6B8916
RGBrgb(107, 137, 22)
HSLhsl(76, 72%, 31%)
HSVhsv(76, 84%, 54%)
CMYKcmyk(21.9%, 0%, 83.9%, 46.3%)
CIE-LABlab(53.03, -26.43, 52.38)
CIE-LCHlch(53.03, 58.67, 116.77°)
OKLaboklab(58.61% -0.0775 0.1142)
OKLCHoklch(58.61% 0.138 124.2)
XYZxyz(15.1541, 21.0749, 4.0284)
Luminance0.2107 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B8916 #341689
analogous
#896D16 #6B8916 #318916
triadic
#6B8916 #166B89 #89166B
tetradic
#6B8916 #16896D #341689 #891631
square
#6B8916 #16896D #341689 #891631
split-complementary
#6B8916 #163189 #6D1689
monochromatic
#192005 #42540E #6B8916 #94BE1E #B4DF3A

Accessibility & contrast

On white

4.03
#6B8916 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#6B8916 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B8916
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B8916#FFFFFF#000000##000000
##6B89161.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#8D7E23
Tritanopia (blue-blind)
#718274
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6b8916;
/* rgb */ color: rgb(107, 137, 22);
/* oklch */ color: oklch(58.6% 0.138 124.2);
Tailwind
colors: {
  custom: {
    50: '#99ab60',
    500: '#6b8916',
    950: '#000000',
  },
}
SCSS
$custom: #6b8916;
$custom-light: #99ab60;
$custom-dark: #000000;
JSON
{
  "hex": "#6b8916",
  "rgb": {
    "r": 107,
    "g": 137,
    "b": 22
  },
  "hsl": {
    "h": 75.652,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.58615,
    "c": 0.13796,
    "h": 124.2
  },
  "luminance": 0.21075
}

Semantic roles & 50–950 ramp

primary
#6B8916
secondary
#5F3EBD
accent
#39EF68
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E1005
muted
#7E7F79

Preview Lab

Preview with #6B8916

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

Preview Lab → · Contrast checker → · Palette generator →

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