#6C9028#6C9028

#6C9028 is a mid, vivid yellow-green. Relative luminance 0.233; OKLCH L 60.6% C 0.136 H 126.8°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#6C9028
RGBrgb(108, 144, 40)
HSLhsl(81, 57%, 36%)
HSVhsv(81, 72%, 56%)
CMYKcmyk(25%, 0%, 72.2%, 43.5%)
CIE-LABlab(55.37, -28.47, 48.53)
CIE-LCHlch(55.37, 56.27, 120.39°)
OKLaboklab(60.56% -0.0817 0.1091)
OKLCHoklch(60.56% 0.136 126.8)
XYZxyz(16.5407, 23.2876, 5.6306)
Luminance0.2329 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C9028 #4C2890
analogous
#908028 #6C9028 #389028
triadic
#6C9028 #286C90 #90286C
tetradic
#6C9028 #289080 #4C2890 #902838
square
#6C9028 #289080 #4C2890 #902838
split-complementary
#6C9028 #283890 #802890
monochromatic
#24300D #48601B #6C9028 #90C035 #ABD360

Accessibility & contrast

On white

3.71
#6C9028 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#6C9028 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C9028
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C9028#FFFFFF#000000##000000
##6C90281.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#988617
Deuteranopia (green-blind)
#938431
Tritanopia (blue-blind)
#70897C
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #6c9028;
/* rgb */ color: rgb(108, 144, 40);
/* oklch */ color: oklch(60.6% 0.136 126.8);
Tailwind
colors: {
  custom: {
    50: '#99b069',
    500: '#6c9028',
    950: '#000000',
  },
}
SCSS
$custom: #6c9028;
$custom-light: #99b069;
$custom-dark: #000000;
JSON
{
  "hex": "#6c9028",
  "rgb": {
    "r": 108,
    "g": 144,
    "b": 40
  },
  "hsl": {
    "h": 80.769,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.60557,
    "c": 0.13625,
    "h": 126.8
  },
  "luminance": 0.23288
}

Semantic roles & 50–950 ramp

primary
#6C9028
secondary
#7C5CB8
accent
#48E07D
background
#F9FAF6
surface
#F2F5EB
border
#CCCFC6
text
#0E1007
muted
#7E7F7A

Preview Lab

Preview with #6C9028

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

Preview Lab → · Contrast checker → · Palette generator →

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