#6B8316#6B8316

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

Color values

HEX#6B8316
RGBrgb(107, 131, 22)
HSLhsl(73, 71%, 30%)
HSVhsv(73, 83%, 51%)
CMYKcmyk(18.3%, 0%, 83.2%, 48.6%)
CIE-LABlab(51.17, -23.44, 50.73)
CIE-LCHlch(51.17, 55.88, 114.80°)
OKLaboklab(57.11% -0.0694 0.1106)
OKLCHoklch(57.11% 0.131 122.1)
XYZxyz(14.3248, 19.4163, 3.7520)
Luminance0.1942 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B8316 #2E1683
analogous
#836516 #6B8316 #348316
triadic
#6B8316 #166B83 #83166B
tetradic
#6B8316 #168365 #2E1683 #831634
square
#6B8316 #168365 #2E1683 #831634
split-complementary
#6B8316 #163483 #651683
monochromatic
#151A04 #404F0D #6B8316 #96B71F #B8DD36

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B8316#FFFFFF#000000##000000
##6B83161.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: #6b8316;
/* rgb */ color: rgb(107, 131, 22);
/* oklch */ color: oklch(57.1% 0.131 122.1);
Tailwind
colors: {
  custom: {
    50: '#99a75f',
    500: '#6b8316',
    950: '#000000',
  },
}
SCSS
$custom: #6b8316;
$custom-light: #99a75f;
$custom-dark: #000000;
JSON
{
  "hex": "#6b8316",
  "rgb": {
    "r": 107,
    "g": 131,
    "b": 22
  },
  "hsl": {
    "h": 73.211,
    "s": 71.242,
    "l": 30
  },
  "oklch": {
    "l": 0.57109,
    "c": 0.13058,
    "h": 122.1
  },
  "luminance": 0.19416
}

Semantic roles & 50–950 ramp

primary
#6B8316
secondary
#583DB7
accent
#3AEE61
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6B8316

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

Preview Lab → · Contrast checker → · Palette generator →

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