#6B8310#6B8310

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

Color values

HEX#6B8310
RGBrgb(107, 131, 16)
HSLhsl(73, 78%, 29%)
HSVhsv(73, 88%, 51%)
CMYKcmyk(18.3%, 0%, 87.8%, 48.6%)
CIE-LABlab(51.15, -23.66, 52.29)
CIE-LCHlch(51.15, 57.39, 114.35°)
OKLaboklab(57.08% -0.0703 0.113)
OKLCHoklch(57.08% 0.133 121.9)
XYZxyz(14.2735, 19.3958, 3.4819)
Luminance0.1940 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B8310 #281083
analogous
#836210 #6B8310 #328310
triadic
#6B8310 #106B83 #83106B
tetradic
#6B8310 #108362 #281083 #831032
square
#6B8310 #108362 #281083 #831032
split-complementary
#6B8310 #103283 #621083
monochromatic
#161B03 #3E4C09 #6B8310 #98BA17 #BEE529

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B8310#FFFFFF#000000##000000
##6B83101.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)
#8C7A00
Deuteranopia (green-blind)
#887A1E
Tritanopia (blue-blind)
#717C6F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #6b8310;
/* rgb */ color: rgb(107, 131, 16);
/* oklch */ color: oklch(57.1% 0.133 121.9);
Tailwind
colors: {
  custom: {
    50: '#99a75d',
    500: '#6b8310',
    950: '#000000',
  },
}
SCSS
$custom: #6b8310;
$custom-light: #99a75d;
$custom-dark: #000000;
JSON
{
  "hex": "#6b8310",
  "rgb": {
    "r": 107,
    "g": 131,
    "b": 16
  },
  "hsl": {
    "h": 72.522,
    "s": 78.231,
    "l": 28.824
  },
  "oklch": {
    "l": 0.57083,
    "c": 0.13307,
    "h": 121.9
  },
  "luminance": 0.19396
}

Semantic roles & 50–950 ramp

primary
#6B8310
secondary
#5136B9
accent
#33F55B
background
#F9FAF5
surface
#F2F4E9
border
#CCCEC5
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6B8310

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

Preview Lab → · Contrast checker → · Palette generator →

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