#6F841A#6F841A

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

Color values

HEX#6F841A
RGBrgb(111, 132, 26)
HSLhsl(72, 67%, 31%)
HSVhsv(72, 80%, 52%)
CMYKcmyk(15.9%, 0%, 80.3%, 48.2%)
CIE-LABlab(51.79, -22.03, 50.17)
CIE-LCHlch(51.79, 54.80, 113.70°)
OKLaboklab(57.69% -0.0654 0.11)
OKLCHoklch(57.69% 0.128 120.7)
XYZxyz(14.9935, 19.9566, 4.0392)
Luminance0.1996 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F841A #2F1A84
analogous
#84641A #6F841A #3A841A
triadic
#6F841A #1A6F84 #841A6F
tetradic
#6F841A #1A8464 #2F1A84 #841A3A
square
#6F841A #1A8464 #2F1A84 #841A3A
split-complementary
#6F841A #1A3A84 #641A84
monochromatic
#191E06 #445110 #6F841A #9AB724 #BBD93F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6F841A#FFFFFF#000000##000000
##6F841A1.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)
#8A7C24
Tritanopia (blue-blind)
#767D70
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #6f841a;
/* rgb */ color: rgb(111, 132, 26);
/* oklch */ color: oklch(57.7% 0.128 120.7);
Tailwind
colors: {
  custom: {
    50: '#9ca761',
    500: '#6f841a',
    950: '#000000',
  },
}
SCSS
$custom: #6f841a;
$custom-light: #9ca761;
$custom-dark: #000000;
JSON
{
  "hex": "#6f841a",
  "rgb": {
    "r": 111,
    "g": 132,
    "b": 26
  },
  "hsl": {
    "h": 71.887,
    "s": 67.089,
    "l": 30.98
  },
  "oklch": {
    "l": 0.57688,
    "c": 0.128,
    "h": 120.7
  },
  "luminance": 0.19957
}

Semantic roles & 50–950 ramp

primary
#6F841A
secondary
#5942B8
accent
#3EEA60
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0F0F05
muted
#7E7F7A

Preview Lab

Preview with #6F841A

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

Preview Lab → · Contrast checker → · Palette generator →

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