#6F811B#6F811B

#6F811B is a mid, vivid yellow-green. Relative luminance 0.192; OKLCH L 57.0% C 0.124 H 119.5°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#6F811B
RGBrgb(111, 129, 27)
HSLhsl(71, 65%, 31%)
HSVhsv(71, 79%, 51%)
CMYKcmyk(14%, 0%, 79.1%, 49.4%)
CIE-LABlab(50.87, -20.44, 49.00)
CIE-LCHlch(50.87, 53.10, 112.65°)
OKLaboklab(56.95% -0.061 0.1077)
OKLCHoklch(56.95% 0.124 119.5)
XYZxyz(14.6039, 19.1592, 3.9655)
Luminance0.1916 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F811B #2D1B81
analogous
#81601B #6F811B #3C811B
triadic
#6F811B #1B6F81 #811B6F
tetradic
#6F811B #1B8160 #2D1B81 #811B3C
square
#6F811B #1B8160 #2D1B81 #811B3C
split-complementary
#6F811B #1B3C81 #601B81
monochromatic
#181C06 #434E10 #6F811B #9BB426 #BCD73F

Accessibility & contrast

On white

4.35
#6F811B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#6F811B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6F811B
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F811B#FFFFFF#000000##000000
##6F811B1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7901
Deuteranopia (green-blind)
#887925
Tritanopia (blue-blind)
#767A6E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #6f811b;
/* rgb */ color: rgb(111, 129, 27);
/* oklch */ color: oklch(57.0% 0.124 119.5);
Tailwind
colors: {
  custom: {
    50: '#9ba561',
    500: '#6f811b',
    950: '#000000',
  },
}
SCSS
$custom: #6f811b;
$custom-light: #9ba561;
$custom-dark: #000000;
JSON
{
  "hex": "#6f811b",
  "rgb": {
    "r": 111,
    "g": 129,
    "b": 27
  },
  "hsl": {
    "h": 70.588,
    "s": 65.385,
    "l": 30.588
  },
  "oklch": {
    "l": 0.56952,
    "c": 0.1238,
    "h": 119.5
  },
  "luminance": 0.19159
}

Semantic roles & 50–950 ramp

primary
#6F811B
secondary
#5743B5
accent
#3FE85D
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F05
muted
#7E7F7A

Preview Lab

Preview with #6F811B

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

Preview Lab → · Contrast checker → · Palette generator →

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