#6F831B#6F831B

#6F831B is a mid, vivid yellow-green. Relative luminance 0.197; OKLCH L 57.4% C 0.126 H 120.4°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#6F831B
RGBrgb(111, 131, 27)
HSLhsl(72, 66%, 31%)
HSVhsv(72, 79%, 51%)
CMYKcmyk(15.3%, 0%, 79.4%, 48.6%)
CIE-LABlab(51.49, -21.47, 49.57)
CIE-LCHlch(51.49, 54.02, 113.42°)
OKLaboklab(57.45% -0.0638 0.1089)
OKLCHoklch(57.45% 0.126 120.4)
XYZxyz(14.8700, 19.6913, 4.0541)
Luminance0.1969 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F831B #2F1B83
analogous
#83631B #6F831B #3B831B
triadic
#6F831B #1B6F83 #831B6F
tetradic
#6F831B #1B8363 #2F1B83 #831B3B
square
#6F831B #1B8363 #2F1B83 #831B3B
split-complementary
#6F831B #1B3B83 #631B83
monochromatic
#191E06 #445011 #6F831B #9AB625 #BBD841

Accessibility & contrast

On white

4.25
#6F831B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#6F831B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6F831B
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F831B#FFFFFF#000000##000000
##6F831B1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#897B25
Tritanopia (blue-blind)
#767C70
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #6f831b;
/* rgb */ color: rgb(111, 131, 27);
/* oklch */ color: oklch(57.4% 0.126 120.4);
Tailwind
colors: {
  custom: {
    50: '#9ca761',
    500: '#6f831b',
    950: '#000000',
  },
}
SCSS
$custom: #6f831b;
$custom-light: #9ca761;
$custom-dark: #000000;
JSON
{
  "hex": "#6f831b",
  "rgb": {
    "r": 111,
    "g": 131,
    "b": 27
  },
  "hsl": {
    "h": 71.538,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.57446,
    "c": 0.12625,
    "h": 120.4
  },
  "luminance": 0.19691
}

Semantic roles & 50–950 ramp

primary
#6F831B
secondary
#5943B6
accent
#3FE960
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0F0F05
muted
#7E7F7A

Preview Lab

Preview with #6F831B

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

Preview Lab → · Contrast checker → · Palette generator →

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