#6D8A1C#6D8A1C

#6D8A1C is a mid, vivid yellow-green. Relative luminance 0.215; OKLCH L 59.0% C 0.135 H 123.9°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#6D8A1C
RGBrgb(109, 138, 28)
HSLhsl(76, 66%, 33%)
HSVhsv(76, 80%, 54%)
CMYKcmyk(21%, 0%, 79.7%, 45.9%)
CIE-LABlab(53.51, -25.81, 51.06)
CIE-LCHlch(53.51, 57.21, 116.81°)
OKLaboklab(59.04% -0.0755 0.1123)
OKLCHoklch(59.04% 0.135 123.9)
XYZxyz(15.6049, 21.5119, 4.4285)
Luminance0.2151 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D8A1C #391C8A
analogous
#8A701C #6D8A1C #368A1C
triadic
#6D8A1C #1C6D8A #8A1C6D
tetradic
#6D8A1C #1C8A70 #391C8A #8A1C36
square
#6D8A1C #1C8A70 #391C8A #8A1C36
split-complementary
#6D8A1C #1C368A #701C8A
monochromatic
#1D2407 #455712 #6D8A1C #95BD26 #B3DA47

Accessibility & contrast

On white

3.96
#6D8A1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#6D8A1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6D8A1C
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D8A1C#FFFFFF#000000##000000
##6D8A1C1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#8E8027
Tritanopia (blue-blind)
#738376
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6d8a1c;
/* rgb */ color: rgb(109, 138, 28);
/* oklch */ color: oklch(59.0% 0.135 123.9);
Tailwind
colors: {
  custom: {
    50: '#9aac62',
    500: '#6d8a1c',
    950: '#000000',
  },
}
SCSS
$custom: #6d8a1c;
$custom-light: #9aac62;
$custom-dark: #000000;
JSON
{
  "hex": "#6d8a1c",
  "rgb": {
    "r": 109,
    "g": 138,
    "b": 28
  },
  "hsl": {
    "h": 75.818,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.59042,
    "c": 0.13532,
    "h": 123.9
  },
  "luminance": 0.21512
}

Semantic roles & 50–950 ramp

primary
#6D8A1C
secondary
#6546BB
accent
#3FE96C
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6D8A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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