#6C901C#6C901C

#6C901C is a mid, vivid yellow-green. Relative luminance 0.232; OKLCH L 60.5% C 0.143 H 126.1°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#6C901C
RGBrgb(108, 144, 28)
HSLhsl(79, 67%, 34%)
HSVhsv(79, 81%, 56%)
CMYKcmyk(25%, 0%, 80.6%, 43.5%)
CIE-LABlab(55.30, -29.14, 52.68)
CIE-LCHlch(55.30, 60.20, 118.95°)
OKLaboklab(60.48% -0.0845 0.1158)
OKLCHoklch(60.48% 0.143 126.1)
XYZxyz(16.3673, 23.2182, 4.7176)
Luminance0.2322 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C901C #401C90
analogous
#907A1C #6C901C #32901C
triadic
#6C901C #1C6C90 #901C6C
tetradic
#6C901C #1C907A #401C90 #901C32
square
#6C901C #1C907A #401C90 #901C32
split-complementary
#6C901C #1C3290 #7A1C90
monochromatic
#1F2A08 #465D12 #6C901C #92C326 #AFDC4A

Accessibility & contrast

On white

3.72
#6C901C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#6C901C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C901C
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C901C#FFFFFF#000000##000000
##6C901C1.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#988600
Deuteranopia (green-blind)
#938428
Tritanopia (blue-blind)
#71897B
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #6c901c;
/* rgb */ color: rgb(108, 144, 28);
/* oklch */ color: oklch(60.5% 0.143 126.1);
Tailwind
colors: {
  custom: {
    50: '#9ab063',
    500: '#6c901c',
    950: '#000000',
  },
}
SCSS
$custom: #6c901c;
$custom-light: #9ab063;
$custom-dark: #000000;
JSON
{
  "hex": "#6c901c",
  "rgb": {
    "r": 108,
    "g": 144,
    "b": 28
  },
  "hsl": {
    "h": 78.621,
    "s": 67.442,
    "l": 33.725
  },
  "oklch": {
    "l": 0.60477,
    "c": 0.14332,
    "h": 126.1
  },
  "luminance": 0.23219
}

Semantic roles & 50–950 ramp

primary
#6C901C
secondary
#6E4ABE
accent
#3DEA73
background
#F9FAF6
surface
#F2F5EB
border
#CCCFC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6C901C

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

Preview Lab → · Contrast checker → · Palette generator →

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