#6B8819#6B8819

#6B8819 is a mid, vivid yellow-green. Relative luminance 0.208; OKLCH L 58.4% C 0.135 H 124.0°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#6B8819
RGBrgb(107, 136, 25)
HSLhsl(76, 69%, 32%)
HSVhsv(76, 82%, 53%)
CMYKcmyk(21.3%, 0%, 81.6%, 46.7%)
CIE-LABlab(52.73, -25.81, 51.24)
CIE-LCHlch(52.73, 57.37, 116.73°)
OKLaboklab(58.38% -0.0756 0.1123)
OKLCHoklch(58.38% 0.135 124)
XYZxyz(15.0432, 20.8042, 4.1426)
Luminance0.2080 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B8819 #361988
analogous
#886E19 #6B8819 #348819
triadic
#6B8819 #196B88 #88196B
tetradic
#6B8819 #19886E #361988 #881934
square
#6B8819 #19886E #361988 #881934
split-complementary
#6B8819 #193488 #6E1988
monochromatic
#1A2106 #42540F #6B8819 #94BC23 #B3DC40

Accessibility & contrast

On white

4.07
#6B8819 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#6B8819 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B8819
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B8819#FFFFFF#000000##000000
##6B88191.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#8C7E25
Tritanopia (blue-blind)
#718174
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6b8819;
/* rgb */ color: rgb(107, 136, 25);
/* oklch */ color: oklch(58.4% 0.135 124.0);
Tailwind
colors: {
  custom: {
    50: '#99aa61',
    500: '#6b8819',
    950: '#000000',
  },
}
SCSS
$custom: #6b8819;
$custom-light: #99aa61;
$custom-dark: #000000;
JSON
{
  "hex": "#6b8819",
  "rgb": {
    "r": 107,
    "g": 136,
    "b": 25
  },
  "hsl": {
    "h": 75.676,
    "s": 68.944,
    "l": 31.569
  },
  "oklch": {
    "l": 0.58379,
    "c": 0.13533,
    "h": 124
  },
  "luminance": 0.20804
}

Semantic roles & 50–950 ramp

primary
#6B8819
secondary
#6141BB
accent
#3CEC6A
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #6B8819

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

Preview Lab → · Contrast checker → · Palette generator →

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