#6F841B#6F841B

#6F841B is a mid, vivid yellow-green. Relative luminance 0.200; OKLCH L 57.7% C 0.127 H 120.8°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#6F841B
RGBrgb(111, 132, 27)
HSLhsl(72, 66%, 31%)
HSVhsv(72, 80%, 52%)
CMYKcmyk(15.9%, 0%, 79.5%, 48.2%)
CIE-LABlab(51.79, -21.98, 49.85)
CIE-LCHlch(51.79, 54.49, 113.79°)
OKLaboklab(57.69% -0.0652 0.1095)
OKLCHoklch(57.69% 0.127 120.8)
XYZxyz(15.0049, 19.9612, 4.0991)
Luminance0.1996 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F841B #301B84
analogous
#84641B #6F841B #3A841B
triadic
#6F841B #1B6F84 #841B6F
tetradic
#6F841B #1B8464 #301B84 #841B3A
square
#6F841B #1B8464 #301B84 #841B3A
split-complementary
#6F841B #1B3A84 #641B84
monochromatic
#1A1E06 #445111 #6F841B #9AB725 #BAD841

Accessibility & contrast

On white

4.21
#6F841B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#6F841B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6F841B
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F841B#FFFFFF#000000##000000
##6F841B1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#8A7C25
Tritanopia (blue-blind)
#767D71
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #6f841b;
/* rgb */ color: rgb(111, 132, 27);
/* oklch */ color: oklch(57.7% 0.127 120.8);
Tailwind
colors: {
  custom: {
    50: '#9ca761',
    500: '#6f841b',
    950: '#000000',
  },
}
SCSS
$custom: #6f841b;
$custom-light: #9ca761;
$custom-dark: #000000;
JSON
{
  "hex": "#6f841b",
  "rgb": {
    "r": 111,
    "g": 132,
    "b": 27
  },
  "hsl": {
    "h": 72,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.57694,
    "c": 0.12748,
    "h": 120.8
  },
  "luminance": 0.19961
}

Semantic roles & 50–950 ramp

primary
#6F841B
secondary
#5B43B7
accent
#3FE961
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0F0F05
muted
#7E7F7A

Preview Lab

Preview with #6F841B

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

Preview Lab → · Contrast checker → · Palette generator →

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