#6B8417#6B8417

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

Color values

HEX#6B8417
RGBrgb(107, 132, 23)
HSLhsl(74, 70%, 30%)
HSVhsv(74, 83%, 52%)
CMYKcmyk(18.9%, 0%, 82.6%, 48.2%)
CIE-LABlab(51.48, -23.91, 50.72)
CIE-LCHlch(51.48, 56.07, 115.24°)
OKLaboklab(57.37% -0.0705 0.1108)
OKLCHoklch(57.37% 0.131 122.5)
XYZxyz(14.4695, 19.6901, 3.8487)
Luminance0.1969 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B8417 #301784
analogous
#846617 #6B8417 #358417
triadic
#6B8417 #176B84 #84176B
tetradic
#6B8417 #178466 #301784 #841735
square
#6B8417 #178466 #301784 #841735
split-complementary
#6B8417 #173584 #661784
monochromatic
#171C05 #41500E #6B8417 #95B820 #B7DC39

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B8417#FFFFFF#000000##000000
##6B84171.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)
#897B23
Tritanopia (blue-blind)
#717D70
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #6b8417;
/* rgb */ color: rgb(107, 132, 23);
/* oklch */ color: oklch(57.4% 0.131 122.5);
Tailwind
colors: {
  custom: {
    50: '#99a75f',
    500: '#6b8417',
    950: '#000000',
  },
}
SCSS
$custom: #6b8417;
$custom-light: #99a75f;
$custom-dark: #000000;
JSON
{
  "hex": "#6b8417",
  "rgb": {
    "r": 107,
    "g": 132,
    "b": 23
  },
  "hsl": {
    "h": 73.761,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.57365,
    "c": 0.13134,
    "h": 122.5
  },
  "luminance": 0.1969
}

Semantic roles & 50–950 ramp

primary
#6B8417
secondary
#5B3FB8
accent
#3BED64
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6B8417

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

Preview Lab → · Contrast checker → · Palette generator →

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