#6B8519#6B8519

#6B8519 is a mid, vivid yellow-green. Relative luminance 0.200; OKLCH L 57.6% C 0.132 H 122.9°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#6B8519
RGBrgb(107, 133, 25)
HSLhsl(74, 68%, 31%)
HSVhsv(74, 81%, 52%)
CMYKcmyk(19.5%, 0%, 81.2%, 47.8%)
CIE-LABlab(51.80, -24.32, 50.40)
CIE-LCHlch(51.80, 55.96, 115.76°)
OKLaboklab(57.63% -0.0715 0.1105)
OKLCHoklch(57.63% 0.132 122.9)
XYZxyz(14.6266, 19.9710, 4.0037)
Luminance0.1997 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B8519 #331985
analogous
#856919 #6B8519 #358519
triadic
#6B8519 #196B85 #85196B
tetradic
#6B8519 #198569 #331985 #851935
square
#6B8519 #198569 #331985 #851935
split-complementary
#6B8519 #193585 #691985
monochromatic
#181E06 #42510F #6B8519 #94B923 #B5DB3E

Accessibility & contrast

On white

4.20
#6B8519 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#6B8519 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B8519
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B8519#FFFFFF#000000##000000
##6B85191.004.204.994.99
#FFFFFF4.201.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#8A7B24
Tritanopia (blue-blind)
#717E71
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #6b8519;
/* rgb */ color: rgb(107, 133, 25);
/* oklch */ color: oklch(57.6% 0.132 122.9);
Tailwind
colors: {
  custom: {
    50: '#99a860',
    500: '#6b8519',
    950: '#000000',
  },
}
SCSS
$custom: #6b8519;
$custom-light: #99a860;
$custom-dark: #000000;
JSON
{
  "hex": "#6b8519",
  "rgb": {
    "r": 107,
    "g": 133,
    "b": 25
  },
  "hsl": {
    "h": 74.444,
    "s": 68.354,
    "l": 30.98
  },
  "oklch": {
    "l": 0.57626,
    "c": 0.13159,
    "h": 122.9
  },
  "luminance": 0.19971
}

Semantic roles & 50–950 ramp

primary
#6B8519
secondary
#5E41B9
accent
#3DEB67
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F05
muted
#7E7F7A

Preview Lab

Preview with #6B8519

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

Preview Lab → · Contrast checker → · Palette generator →

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