#6D8310#6D8310

#6D8310 is a mid, vivid yellow-green. Relative luminance 0.195; OKLCH L 57.2% C 0.132 H 121.0°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#6D8310
RGBrgb(109, 131, 16)
HSLhsl(71, 78%, 29%)
HSVhsv(71, 88%, 51%)
CMYKcmyk(16.8%, 0%, 87.8%, 48.6%)
CIE-LABlab(51.29, -22.78, 52.47)
CIE-LCHlch(51.29, 57.20, 113.47°)
OKLaboklab(57.24% -0.068 0.1133)
OKLCHoklch(57.24% 0.132 121)
XYZxyz(14.5168, 19.5212, 3.4933)
Luminance0.1952 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D8310 #261083
analogous
#836010 #6D8310 #348310
triadic
#6D8310 #106D83 #83106D
tetradic
#6D8310 #108360 #261083 #831034
square
#6D8310 #108360 #261083 #831034
split-complementary
#6D8310 #103483 #601083
monochromatic
#171B03 #404C09 #6D8310 #9ABA17 #C1E529

Accessibility & contrast

On white

4.28
#6D8310 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#6D8310 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6D8310
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D8310#FFFFFF#000000##000000
##6D83101.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#897A1E
Tritanopia (blue-blind)
#747C6F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #6d8310;
/* rgb */ color: rgb(109, 131, 16);
/* oklch */ color: oklch(57.2% 0.132 121.0);
Tailwind
colors: {
  custom: {
    50: '#9aa75d',
    500: '#6d8310',
    950: '#000000',
  },
}
SCSS
$custom: #6d8310;
$custom-light: #9aa75d;
$custom-dark: #000000;
JSON
{
  "hex": "#6d8310",
  "rgb": {
    "r": 109,
    "g": 131,
    "b": 16
  },
  "hsl": {
    "h": 71.478,
    "s": 78.231,
    "l": 28.824
  },
  "oklch": {
    "l": 0.57236,
    "c": 0.13215,
    "h": 121
  },
  "luminance": 0.19521
}

Semantic roles & 50–950 ramp

primary
#6D8310
secondary
#4F36B9
accent
#33F558
background
#F9FAF5
surface
#F2F4E9
border
#CCCEC5
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6D8310

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

Preview Lab → · Contrast checker → · Palette generator →

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