#6B8317#6B8317

#6B8317 is a mid, vivid yellow-green. Relative luminance 0.194; OKLCH L 57.1% C 0.130 H 122.1°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#6B8317
RGBrgb(107, 131, 23)
HSLhsl(73, 70%, 30%)
HSVhsv(73, 82%, 51%)
CMYKcmyk(18.3%, 0%, 82.4%, 48.6%)
CIE-LABlab(51.18, -23.40, 50.44)
CIE-LCHlch(51.18, 55.60, 114.89°)
OKLaboklab(57.12% -0.0692 0.1102)
OKLCHoklch(57.12% 0.13 122.1)
XYZxyz(14.3346, 19.4202, 3.8037)
Luminance0.1942 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B8317 #2F1783
analogous
#836517 #6B8317 #358317
triadic
#6B8317 #176B83 #83176B
tetradic
#6B8317 #178365 #2F1783 #831735
square
#6B8317 #178365 #2F1783 #831735
split-complementary
#6B8317 #173583 #651783
monochromatic
#161B05 #404F0E #6B8317 #96B720 #B8DC38

Accessibility & contrast

On white

4.30
#6B8317 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#6B8317 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B8317
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B8317#FFFFFF#000000##000000
##6B83171.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#887A22
Tritanopia (blue-blind)
#717C6F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #6b8317;
/* rgb */ color: rgb(107, 131, 23);
/* oklch */ color: oklch(57.1% 0.130 122.1);
Tailwind
colors: {
  custom: {
    50: '#99a75f',
    500: '#6b8317',
    950: '#000000',
  },
}
SCSS
$custom: #6b8317;
$custom-light: #99a75f;
$custom-dark: #000000;
JSON
{
  "hex": "#6b8317",
  "rgb": {
    "r": 107,
    "g": 131,
    "b": 23
  },
  "hsl": {
    "h": 73.333,
    "s": 70.13,
    "l": 30.196
  },
  "oklch": {
    "l": 0.57115,
    "c": 0.13011,
    "h": 122.1
  },
  "luminance": 0.1942
}

Semantic roles & 50–950 ramp

primary
#6B8317
secondary
#593FB7
accent
#3BED62
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6B8317

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

Preview Lab → · Contrast checker → · Palette generator →

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