#6C901B#6C901B

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

Color values

HEX#6C901B
RGBrgb(108, 144, 27)
HSLhsl(78, 68%, 34%)
HSVhsv(78, 81%, 56%)
CMYKcmyk(25%, 0%, 81.3%, 43.5%)
CIE-LABlab(55.29, -29.18, 52.98)
CIE-LCHlch(55.29, 60.49, 118.85°)
OKLaboklab(60.47% -0.0847 0.1162)
OKLCHoklch(60.47% 0.144 126.1)
XYZxyz(16.3555, 23.2135, 4.6557)
Luminance0.2321 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C901B #3F1B90
analogous
#90791B #6C901B #31901B
triadic
#6C901B #1B6C90 #901B6C
tetradic
#6C901B #1B9079 #3F1B90 #901B31
square
#6C901B #1B9079 #3F1B90 #901B31
split-complementary
#6C901B #1B3190 #791B90
monochromatic
#1F2908 #455C11 #6C901B #93C425 #AFDD49

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C901B#FFFFFF#000000##000000
##6C901B1.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: #6c901b;
/* rgb */ color: rgb(108, 144, 27);
/* oklch */ color: oklch(60.5% 0.144 126.1);
Tailwind
colors: {
  custom: {
    50: '#9ab063',
    500: '#6c901b',
    950: '#000000',
  },
}
SCSS
$custom: #6c901b;
$custom-light: #9ab063;
$custom-dark: #000000;
JSON
{
  "hex": "#6c901b",
  "rgb": {
    "r": 108,
    "g": 144,
    "b": 27
  },
  "hsl": {
    "h": 78.462,
    "s": 68.421,
    "l": 33.529
  },
  "oklch": {
    "l": 0.60471,
    "c": 0.14381,
    "h": 126.1
  },
  "luminance": 0.23214
}

Semantic roles & 50–950 ramp

primary
#6C901B
secondary
#6D48BF
accent
#3DEB72
background
#F9FAF6
surface
#F2F5EB
border
#CCCFC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6C901B

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

Preview Lab → · Contrast checker → · Palette generator →

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