#6F831A#6F831A

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

Color values

HEX#6F831A
RGBrgb(111, 131, 26)
HSLhsl(71, 67%, 31%)
HSVhsv(71, 80%, 51%)
CMYKcmyk(15.3%, 0%, 80.2%, 48.6%)
CIE-LABlab(51.48, -21.52, 49.89)
CIE-LCHlch(51.48, 54.34, 113.33°)
OKLaboklab(57.44% -0.064 0.1094)
OKLCHoklch(57.44% 0.127 120.3)
XYZxyz(14.8586, 19.6867, 3.9942)
Luminance0.1969 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F831A #2E1A83
analogous
#83621A #6F831A #3A831A
triadic
#6F831A #1A6F83 #831A6F
tetradic
#6F831A #1A8362 #2E1A83 #831A3A
square
#6F831A #1A8362 #2E1A83 #831A3A
split-complementary
#6F831A #1A3A83 #621A83
monochromatic
#181D06 #445010 #6F831A #9AB624 #BBD93F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6F831A#FFFFFF#000000##000000
##6F831A1.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)
#897B24
Tritanopia (blue-blind)
#767C70
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #6f831a;
/* rgb */ color: rgb(111, 131, 26);
/* oklch */ color: oklch(57.4% 0.127 120.3);
Tailwind
colors: {
  custom: {
    50: '#9ca760',
    500: '#6f831a',
    950: '#000000',
  },
}
SCSS
$custom: #6f831a;
$custom-light: #9ca760;
$custom-dark: #000000;
JSON
{
  "hex": "#6f831a",
  "rgb": {
    "r": 111,
    "g": 131,
    "b": 26
  },
  "hsl": {
    "h": 71.429,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.5744,
    "c": 0.12678,
    "h": 120.3
  },
  "luminance": 0.19687
}

Semantic roles & 50–950 ramp

primary
#6F831A
secondary
#5842B7
accent
#3EEA5F
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0F0F05
muted
#7E7F7A

Preview Lab

Preview with #6F831A

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

Preview Lab → · Contrast checker → · Palette generator →

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