#6B8013#6B8013

#6B8013 is a mid, vivid yellow-green. Relative luminance 0.186; OKLCH L 56.3% C 0.128 H 120.8°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#6B8013
RGBrgb(107, 128, 19)
HSLhsl(72, 74%, 29%)
HSVhsv(72, 85%, 50%)
CMYKcmyk(16.4%, 0%, 85.2%, 49.8%)
CIE-LABlab(50.23, -22.04, 50.74)
CIE-LCHlch(50.23, 55.32, 113.48°)
OKLaboklab(56.35% -0.0657 0.1102)
OKLCHoklch(56.35% 0.128 120.8)
XYZxyz(13.9004, 18.6112, 3.4760)
Luminance0.1861 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B8013 #281380
analogous
#805F13 #6B8013 #358013
triadic
#6B8013 #136B80 #80136B
tetradic
#6B8013 #13805F #281380 #801335
square
#6B8013 #13805F #281380 #801335
split-complementary
#6B8013 #133580 #5F1380
monochromatic
#161B04 #3E4B0B #6B8013 #98B51B #BEE02D

Accessibility & contrast

On white

4.45
#6B8013 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#6B8013 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B8013
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B8013#FFFFFF#000000##000000
##6B80131.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#86781F
Tritanopia (blue-blind)
#72796D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #6b8013;
/* rgb */ color: rgb(107, 128, 19);
/* oklch */ color: oklch(56.3% 0.128 120.8);
Tailwind
colors: {
  custom: {
    50: '#99a45d',
    500: '#6b8013',
    950: '#000000',
  },
}
SCSS
$custom: #6b8013;
$custom-light: #99a45d;
$custom-dark: #000000;
JSON
{
  "hex": "#6b8013",
  "rgb": {
    "r": 107,
    "g": 128,
    "b": 19
  },
  "hsl": {
    "h": 71.56,
    "s": 74.15,
    "l": 28.824
  },
  "oklch": {
    "l": 0.56345,
    "c": 0.12827,
    "h": 120.8
  },
  "luminance": 0.18611
}

Semantic roles & 50–950 ramp

primary
#6B8013
secondary
#5139B5
accent
#37F15B
background
#F9FAF5
surface
#F2F4E9
border
#CCCEC5
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6B8013

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

Preview Lab → · Contrast checker → · Palette generator →

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