#6F801F#6F801F

#6F801F is a mid, vivid yellow-green. Relative luminance 0.189; OKLCH L 56.7% C 0.120 H 119.2°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#6F801F
RGBrgb(111, 128, 31)
HSLhsl(71, 61%, 31%)
HSVhsv(71, 76%, 50%)
CMYKcmyk(13.3%, 0%, 75.8%, 49.8%)
CIE-LABlab(50.59, -19.72, 47.33)
CIE-LCHlch(50.59, 51.27, 112.62°)
OKLaboklab(56.73% -0.0586 0.1049)
OKLCHoklch(56.73% 0.12 119.2)
XYZxyz(14.5223, 18.9169, 4.1823)
Luminance0.1892 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F801F #301F80
analogous
#80601F #6F801F #3E801F
triadic
#6F801F #1F6F80 #801F6F
tetradic
#6F801F #1F8060 #301F80 #801F3E
square
#6F801F #1F8060 #301F80 #801F3E
split-complementary
#6F801F #1F3E80 #601F80
monochromatic
#1A1D07 #444F13 #6F801F #9AB12B #BAD247

Accessibility & contrast

On white

4.39
#6F801F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#6F801F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6F801F
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F801F#FFFFFF#000000##000000
##6F801F1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#89780B
Deuteranopia (green-blind)
#877927
Tritanopia (blue-blind)
#76796D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #6f801f;
/* rgb */ color: rgb(111, 128, 31);
/* oklch */ color: oklch(56.7% 0.120 119.2);
Tailwind
colors: {
  custom: {
    50: '#9ba462',
    500: '#6f801f',
    950: '#000000',
  },
}
SCSS
$custom: #6f801f;
$custom-light: #9ba462;
$custom-dark: #000000;
JSON
{
  "hex": "#6f801f",
  "rgb": {
    "r": 111,
    "g": 128,
    "b": 31
  },
  "hsl": {
    "h": 70.515,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.56731,
    "c": 0.1202,
    "h": 119.2
  },
  "luminance": 0.18917
}

Semantic roles & 50–950 ramp

primary
#6F801F
secondary
#5B48B3
accent
#44E460
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F05
muted
#7E7F7A

Preview Lab

Preview with #6F801F

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

Preview Lab → · Contrast checker → · Palette generator →

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