#6B8416#6B8416

#6B8416 is a mid, vivid yellow-green. Relative luminance 0.197; OKLCH L 57.4% C 0.132 H 122.5°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#6B8416
RGBrgb(107, 132, 22)
HSLhsl(74, 71%, 30%)
HSVhsv(74, 83%, 52%)
CMYKcmyk(18.9%, 0%, 83.3%, 48.2%)
CIE-LABlab(51.48, -23.95, 51.00)
CIE-LCHlch(51.48, 56.35, 115.15°)
OKLaboklab(57.36% -0.0707 0.1112)
OKLCHoklch(57.36% 0.132 122.5)
XYZxyz(14.4597, 19.6862, 3.7969)
Luminance0.1969 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B8416 #2F1684
analogous
#846616 #6B8416 #348416
triadic
#6B8416 #166B84 #84166B
tetradic
#6B8416 #168466 #2F1684 #841634
square
#6B8416 #168466 #2F1684 #841634
split-complementary
#6B8416 #163484 #661684
monochromatic
#161B05 #40500D #6B8416 #96B81F #B8DE37

Accessibility & contrast

On white

4.25
#6B8416 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#6B8416 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B8416
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B8416#FFFFFF#000000##000000
##6B84161.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#897B22
Tritanopia (blue-blind)
#717D70
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #6b8416;
/* rgb */ color: rgb(107, 132, 22);
/* oklch */ color: oklch(57.4% 0.132 122.5);
Tailwind
colors: {
  custom: {
    50: '#99a75f',
    500: '#6b8416',
    950: '#000000',
  },
}
SCSS
$custom: #6b8416;
$custom-light: #99a75f;
$custom-dark: #000000;
JSON
{
  "hex": "#6b8416",
  "rgb": {
    "r": 107,
    "g": 132,
    "b": 22
  },
  "hsl": {
    "h": 73.636,
    "s": 71.429,
    "l": 30.196
  },
  "oklch": {
    "l": 0.5736,
    "c": 0.13181,
    "h": 122.5
  },
  "luminance": 0.19686
}

Semantic roles & 50–950 ramp

primary
#6B8416
secondary
#593DB8
accent
#3AEE63
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6B8416

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

Preview Lab → · Contrast checker → · Palette generator →

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