#6D8318#6D8318

#6D8318 is a mid, vivid yellow-green. Relative luminance 0.196; OKLCH L 57.3% C 0.129 H 121.2°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#6D8318
RGBrgb(109, 131, 24)
HSLhsl(72, 69%, 30%)
HSVhsv(72, 82%, 51%)
CMYKcmyk(16.8%, 0%, 81.7%, 48.6%)
CIE-LABlab(51.32, -22.49, 50.32)
CIE-LCHlch(51.32, 55.12, 114.08°)
OKLaboklab(57.27% -0.0667 0.1101)
OKLCHoklch(57.27% 0.129 121.2)
XYZxyz(14.5881, 19.5498, 3.8689)
Luminance0.1955 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D8318 #2E1883
analogous
#836318 #6D8318 #388318
triadic
#6D8318 #186D83 #83186D
tetradic
#6D8318 #188363 #2E1883 #831838
square
#6D8318 #188363 #2E1883 #831838
split-complementary
#6D8318 #183883 #631883
monochromatic
#171C05 #424F0F #6D8318 #98B721 #BADB3A

Accessibility & contrast

On white

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

On black

4.91
#6D8318 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6D8318
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D8318#FFFFFF#000000##000000
##6D83181.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d8318;
/* rgb */ color: rgb(109, 131, 24);
/* oklch */ color: oklch(57.3% 0.129 121.2);
Tailwind
colors: {
  custom: {
    50: '#9aa760',
    500: '#6d8318',
    950: '#000000',
  },
}
SCSS
$custom: #6d8318;
$custom-light: #9aa760;
$custom-dark: #000000;
JSON
{
  "hex": "#6d8318",
  "rgb": {
    "r": 109,
    "g": 131,
    "b": 24
  },
  "hsl": {
    "h": 72.336,
    "s": 69.032,
    "l": 30.392
  },
  "oklch": {
    "l": 0.57273,
    "c": 0.1287,
    "h": 121.2
  },
  "luminance": 0.1955
}

Semantic roles & 50–950 ramp

primary
#6D8318
secondary
#5840B7
accent
#3CEC60
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6D8318

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

Preview Lab → · Contrast checker → · Palette generator →

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