#6D8A23#6D8A23

#6D8A23 is a mid, vivid yellow-green. Relative luminance 0.215; OKLCH L 59.1% C 0.131 H 124.3°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#6D8A23
RGBrgb(109, 138, 35)
HSLhsl(77, 60%, 34%)
HSVhsv(77, 75%, 54%)
CMYKcmyk(21%, 0%, 74.6%, 45.9%)
CIE-LABlab(53.55, -25.43, 48.66)
CIE-LCHlch(53.55, 54.91, 117.59°)
OKLaboklab(59.09% -0.0739 0.1085)
OKLCHoklch(59.09% 0.131 124.3)
XYZxyz(15.6987, 21.5494, 4.9222)
Luminance0.2155 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D8A23 #40238A
analogous
#8A7423 #6D8A23 #3A8A23
triadic
#6D8A23 #236D8A #8A236D
tetradic
#6D8A23 #238A74 #40238A #8A233A
square
#6D8A23 #238A74 #40238A #8A233A
split-complementary
#6D8A23 #233A8A #74238A
monochromatic
#20280A #465917 #6D8A23 #94BB2F #B0D454

Accessibility & contrast

On white

3.95
#6D8A23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#6D8A23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6D8A23
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D8A23#FFFFFF#000000##000000
##6D8A231.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#92810F
Deuteranopia (green-blind)
#8E802C
Tritanopia (blue-blind)
#728376
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6d8a23;
/* rgb */ color: rgb(109, 138, 35);
/* oklch */ color: oklch(59.1% 0.131 124.3);
Tailwind
colors: {
  custom: {
    50: '#9aac66',
    500: '#6d8a23',
    950: '#000000',
  },
}
SCSS
$custom: #6d8a23;
$custom-light: #9aac66;
$custom-dark: #000000;
JSON
{
  "hex": "#6d8a23",
  "rgb": {
    "r": 109,
    "g": 138,
    "b": 35
  },
  "hsl": {
    "h": 76.893,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.59088,
    "c": 0.13124,
    "h": 124.3
  },
  "luminance": 0.2155
}

Semantic roles & 50–950 ramp

primary
#6D8A23
secondary
#6E51B7
accent
#45E371
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6D8A23

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

Preview Lab → · Contrast checker → · Palette generator →

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