#6D941B#6D941B

#6D941B is a mid, vivid yellow-green. Relative luminance 0.245; OKLCH L 61.5% C 0.148 H 126.8°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#6D941B
RGBrgb(109, 148, 27)
HSLhsl(79, 69%, 34%)
HSVhsv(79, 82%, 58%)
CMYKcmyk(26.4%, 0%, 81.8%, 42%)
CIE-LABlab(56.59, -30.67, 54.18)
CIE-LCHlch(56.59, 62.26, 119.51°)
OKLaboklab(61.55% -0.0888 0.1188)
OKLCHoklch(61.55% 0.148 126.8)
XYZxyz(17.0945, 24.5098, 4.8669)
Luminance0.2451 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D941B #421B94
analogous
#947F1B #6D941B #30941B
triadic
#6D941B #1B6D94 #941B6D
tetradic
#6D941B #1B947F #421B94 #941B30
square
#6D941B #1B947F #421B94 #941B30
split-complementary
#6D941B #1B3094 #7F1B94
monochromatic
#212C08 #476012 #6D941B #93C824 #AFDE4B

Accessibility & contrast

On white

3.56
#6D941B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#6D941B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6D941B
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D941B#FFFFFF#000000##000000
##6D941B1.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d941b;
/* rgb */ color: rgb(109, 148, 27);
/* oklch */ color: oklch(61.5% 0.148 126.8);
Tailwind
colors: {
  custom: {
    50: '#9bb363',
    500: '#6d941b',
    950: '#000000',
  },
}
SCSS
$custom: #6d941b;
$custom-light: #9bb363;
$custom-dark: #000000;
JSON
{
  "hex": "#6d941b",
  "rgb": {
    "r": 109,
    "g": 148,
    "b": 27
  },
  "hsl": {
    "h": 79.339,
    "s": 69.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.61546,
    "c": 0.14828,
    "h": 126.8
  },
  "luminance": 0.2451
}

Semantic roles & 50–950 ramp

primary
#6D941B
secondary
#704BC0
accent
#3CEC75
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0F1106
muted
#7E807A

Preview Lab

Preview with #6D941B

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

Preview Lab → · Contrast checker → · Palette generator →

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