#6D8D23#6D8D23

#6D8D23 is a mid, vivid yellow-green. Relative luminance 0.224; OKLCH L 59.8% C 0.135 H 125.2°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#6D8D23
RGBrgb(109, 141, 35)
HSLhsl(78, 60%, 35%)
HSVhsv(78, 75%, 55%)
CMYKcmyk(22.7%, 0%, 75.2%, 44.7%)
CIE-LABlab(54.47, -26.91, 49.56)
CIE-LCHlch(54.47, 56.40, 118.50°)
OKLaboklab(59.84% -0.0779 0.1104)
OKLCHoklch(59.84% 0.135 125.2)
XYZxyz(16.1350, 22.4221, 5.0676)
Luminance0.2242 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D8D23 #43238D
analogous
#8D7823 #6D8D23 #388D23
triadic
#6D8D23 #236D8D #8D236D
tetradic
#6D8D23 #238D78 #43238D #8D2338
square
#6D8D23 #238D78 #43238D #8D2338
split-complementary
#6D8D23 #23388D #78238D
monochromatic
#212B0B #475C17 #6D8D23 #93BE2F #AED555

Accessibility & contrast

On white

3.83
#6D8D23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#6D8D23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6D8D23
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D8D23#FFFFFF#000000##000000
##6D8D231.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#95830E
Deuteranopia (green-blind)
#91822D
Tritanopia (blue-blind)
#728679
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #6d8d23;
/* rgb */ color: rgb(109, 141, 35);
/* oklch */ color: oklch(59.8% 0.135 125.2);
Tailwind
colors: {
  custom: {
    50: '#9aae66',
    500: '#6d8d23',
    950: '#000000',
  },
}
SCSS
$custom: #6d8d23;
$custom-light: #9aae66;
$custom-dark: #000000;
JSON
{
  "hex": "#6d8d23",
  "rgb": {
    "r": 109,
    "g": 141,
    "b": 35
  },
  "hsl": {
    "h": 78.113,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.59838,
    "c": 0.1351,
    "h": 125.2
  },
  "luminance": 0.22422
}

Semantic roles & 50–950 ramp

primary
#6D8D23
secondary
#7253B9
accent
#44E374
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6D8D23

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

Preview Lab → · Contrast checker → · Palette generator →

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