#6F861B#6F861B

#6F861B is a mid, vivid yellow-green. Relative luminance 0.205; OKLCH L 58.2% C 0.130 H 121.5°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#6F861B
RGBrgb(111, 134, 27)
HSLhsl(73, 66%, 32%)
HSVhsv(73, 80%, 53%)
CMYKcmyk(17.2%, 0%, 79.9%, 47.5%)
CIE-LABlab(52.41, -23.00, 50.42)
CIE-LCHlch(52.41, 55.42, 114.52°)
OKLaboklab(58.19% -0.068 0.1107)
OKLCHoklch(58.19% 0.13 121.5)
XYZxyz(15.2787, 20.5088, 4.1904)
Luminance0.2051 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F861B #321B86
analogous
#86681B #6F861B #3A861B
triadic
#6F861B #1B6F86 #861B6F
tetradic
#6F861B #1B8668 #321B86 #861B3A
square
#6F861B #1B8668 #321B86 #861B3A
split-complementary
#6F861B #1B3A86 #681B86
monochromatic
#1B2006 #455311 #6F861B #99B925 #B9D942

Accessibility & contrast

On white

4.12
#6F861B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#6F861B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6F861B
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F861B#FFFFFF#000000##000000
##6F861B1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7D00
Deuteranopia (green-blind)
#8C7D26
Tritanopia (blue-blind)
#757F72
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #6f861b;
/* rgb */ color: rgb(111, 134, 27);
/* oklch */ color: oklch(58.2% 0.130 121.5);
Tailwind
colors: {
  custom: {
    50: '#9ca961',
    500: '#6f861b',
    950: '#000000',
  },
}
SCSS
$custom: #6f861b;
$custom-light: #9ca961;
$custom-dark: #000000;
JSON
{
  "hex": "#6f861b",
  "rgb": {
    "r": 111,
    "g": 134,
    "b": 27
  },
  "hsl": {
    "h": 72.897,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.5819,
    "c": 0.12993,
    "h": 121.5
  },
  "luminance": 0.20509
}

Semantic roles & 50–950 ramp

primary
#6F861B
secondary
#5D44B9
accent
#3EE963
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0F0F05
muted
#7E7F7A

Preview Lab

Preview with #6F861B

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

Preview Lab → · Contrast checker → · Palette generator →

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