#6D8628#6D8628

#6D8628 is a mid, vivid yellow-green. Relative luminance 0.205; OKLCH L 58.1% C 0.123 H 123.1°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#6D8628
RGBrgb(109, 134, 40)
HSLhsl(76, 54%, 34%)
HSVhsv(76, 70%, 53%)
CMYKcmyk(18.7%, 0%, 70.1%, 47.5%)
CIE-LABlab(52.35, -23.11, 45.49)
CIE-LCHlch(52.35, 51.03, 116.93°)
OKLaboklab(58.13% -0.067 0.1027)
OKLCHoklch(58.13% 0.123 123.1)
XYZxyz(15.2149, 20.4545, 5.1536)
Luminance0.2046 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D8628 #412886
analogous
#867028 #6D8628 #3E8628
triadic
#6D8628 #286D86 #86286D
tetradic
#6D8628 #288670 #412886 #86283E
square
#6D8628 #288670 #412886 #86283E
split-complementary
#6D8628 #283E86 #702886
monochromatic
#20280C #47571A #6D8628 #93B536 #AFCE5B

Accessibility & contrast

On white

4.12
#6D8628 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#6D8628 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6D8628
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D8628#FFFFFF#000000##000000
##6D86281.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E1A
Deuteranopia (green-blind)
#8B7D2F
Tritanopia (blue-blind)
#737F73
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #6d8628;
/* rgb */ color: rgb(109, 134, 40);
/* oklch */ color: oklch(58.1% 0.123 123.1);
Tailwind
colors: {
  custom: {
    50: '#9aa968',
    500: '#6d8628',
    950: '#000000',
  },
}
SCSS
$custom: #6d8628;
$custom-light: #9aa968;
$custom-dark: #000000;
JSON
{
  "hex": "#6d8628",
  "rgb": {
    "r": 109,
    "g": 134,
    "b": 40
  },
  "hsl": {
    "h": 75.957,
    "s": 54.023,
    "l": 34.118
  },
  "oklch": {
    "l": 0.58131,
    "c": 0.1226,
    "h": 123.1
  },
  "luminance": 0.20455
}

Semantic roles & 50–950 ramp

primary
#6D8628
secondary
#6F57B3
accent
#4ADD71
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F06
muted
#7E7F7A

Preview Lab

Preview with #6D8628

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

Preview Lab → · Contrast checker → · Palette generator →

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