#6C941B#6C941B

#6C941B is a mid, vivid yellow-green. Relative luminance 0.244; OKLCH L 61.5% C 0.149 H 127.1°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#6C941B
RGBrgb(108, 148, 27)
HSLhsl(80, 69%, 34%)
HSVhsv(80, 82%, 58%)
CMYKcmyk(27%, 0%, 81.8%, 42%)
CIE-LABlab(56.53, -31.08, 54.10)
CIE-LCHlch(56.53, 62.40, 119.88°)
OKLaboklab(61.48% -0.0898 0.1186)
OKLCHoklch(61.48% 0.149 127.1)
XYZxyz(16.9721, 24.4467, 4.8612)
Luminance0.2445 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C941B #431B94
analogous
#94801B #6C941B #2F941B
triadic
#6C941B #1B6C94 #941B6C
tetradic
#6C941B #1B9480 #431B94 #941B2F
square
#6C941B #1B9480 #431B94 #941B2F
split-complementary
#6C941B #1B2F94 #801B94
monochromatic
#202C08 #466012 #6C941B #92C824 #AEDE4B

Accessibility & contrast

On white

3.57
#6C941B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#6C941B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C941B
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C941B#FFFFFF#000000##000000
##6C941B1.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8900
Deuteranopia (green-blind)
#978728
Tritanopia (blue-blind)
#718D7E
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #6c941b;
/* rgb */ color: rgb(108, 148, 27);
/* oklch */ color: oklch(61.5% 0.149 127.1);
Tailwind
colors: {
  custom: {
    50: '#9ab363',
    500: '#6c941b',
    950: '#000000',
  },
}
SCSS
$custom: #6c941b;
$custom-light: #9ab363;
$custom-dark: #000000;
JSON
{
  "hex": "#6c941b",
  "rgb": {
    "r": 108,
    "g": 148,
    "b": 27
  },
  "hsl": {
    "h": 79.835,
    "s": 69.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.61479,
    "c": 0.14879,
    "h": 127.1
  },
  "luminance": 0.24447
}

Semantic roles & 50–950 ramp

primary
#6C941B
secondary
#714BC0
accent
#3CEC76
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1106
muted
#7E807A

Preview Lab

Preview with #6C941B

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

Preview Lab → · Contrast checker → · Palette generator →

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