#6D841B#6D841B

#6D841B is a mid, vivid yellow-green. Relative luminance 0.198; OKLCH L 57.5% C 0.128 H 121.7°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#6D841B
RGBrgb(109, 132, 27)
HSLhsl(73, 66%, 31%)
HSVhsv(73, 80%, 52%)
CMYKcmyk(17.4%, 0%, 79.5%, 48.2%)
CIE-LABlab(51.65, -22.86, 49.67)
CIE-LCHlch(51.65, 54.67, 114.71°)
OKLaboklab(57.54% -0.0675 0.1092)
OKLCHoklch(57.54% 0.128 121.7)
XYZxyz(14.7560, 19.8329, 4.0874)
Luminance0.1983 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D841B #321B84
analogous
#84661B #6D841B #38841B
triadic
#6D841B #1B6D84 #841B6D
tetradic
#6D841B #1B8466 #321B84 #841B38
square
#6D841B #1B8466 #321B84 #841B38
split-complementary
#6D841B #1B3884 #661B84
monochromatic
#191E06 #435111 #6D841B #97B725 #B7D841

Accessibility & contrast

On white

4.23
#6D841B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#6D841B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6D841B
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D841B#FFFFFF#000000##000000
##6D841B1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C00
Deuteranopia (green-blind)
#8A7B25
Tritanopia (blue-blind)
#737D71
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #6d841b;
/* rgb */ color: rgb(109, 132, 27);
/* oklch */ color: oklch(57.5% 0.128 121.7);
Tailwind
colors: {
  custom: {
    50: '#9aa761',
    500: '#6d841b',
    950: '#000000',
  },
}
SCSS
$custom: #6d841b;
$custom-light: #9aa761;
$custom-dark: #000000;
JSON
{
  "hex": "#6d841b",
  "rgb": {
    "r": 109,
    "g": 132,
    "b": 27
  },
  "hsl": {
    "h": 73.143,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.57539,
    "c": 0.12838,
    "h": 121.7
  },
  "luminance": 0.19833
}

Semantic roles & 50–950 ramp

primary
#6D841B
secondary
#5D43B7
accent
#3FE964
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F05
muted
#7E7F7A

Preview Lab

Preview with #6D841B

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

Preview Lab → · Contrast checker → · Palette generator →

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