#6B8315#6B8315

#6B8315 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#6B8315
RGBrgb(107, 131, 21)
HSLhsl(73, 72%, 30%)
HSVhsv(73, 84%, 51%)
CMYKcmyk(18.3%, 0%, 84%, 48.6%)
CIE-LABlab(51.17, -23.48, 51.01)
CIE-LCHlch(51.17, 56.16, 114.72°)
OKLaboklab(57.11% -0.0695 0.1111)
OKLCHoklch(57.11% 0.131 122.1)
XYZxyz(14.3153, 19.4125, 3.7021)
Luminance0.1941 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B8315 #2D1583
analogous
#836415 #6B8315 #348315
triadic
#6B8315 #156B83 #83156B
tetradic
#6B8315 #158364 #2D1583 #831534
square
#6B8315 #158364 #2D1583 #831534
split-complementary
#6B8315 #153483 #641583
monochromatic
#161A04 #404E0D #6B8315 #96B81D #B9DE34

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B8315#FFFFFF#000000##000000
##6B83151.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)
#887A21
Tritanopia (blue-blind)
#717C6F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #6b8315;
/* rgb */ color: rgb(107, 131, 21);
/* oklch */ color: oklch(57.1% 0.131 122.1);
Tailwind
colors: {
  custom: {
    50: '#99a75e',
    500: '#6b8315',
    950: '#000000',
  },
}
SCSS
$custom: #6b8315;
$custom-light: #99a75e;
$custom-dark: #000000;
JSON
{
  "hex": "#6b8315",
  "rgb": {
    "r": 107,
    "g": 131,
    "b": 21
  },
  "hsl": {
    "h": 73.091,
    "s": 72.368,
    "l": 29.804
  },
  "oklch": {
    "l": 0.57105,
    "c": 0.13104,
    "h": 122.1
  },
  "luminance": 0.19413
}

Semantic roles & 50–950 ramp

primary
#6B8315
secondary
#573CB8
accent
#39EF61
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6B8315

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

Preview Lab → · Contrast checker → · Palette generator →

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