#6F8A20#6F8A20

#6F8A20 is a mid, vivid yellow-green. Relative luminance 0.217; OKLCH L 59.2% C 0.132 H 123.2°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#6F8A20
RGBrgb(111, 138, 32)
HSLhsl(75, 62%, 33%)
HSVhsv(75, 77%, 54%)
CMYKcmyk(19.6%, 0%, 76.8%, 45.9%)
CIE-LABlab(53.67, -24.75, 49.91)
CIE-LCHlch(53.67, 55.71, 116.38°)
OKLaboklab(59.21% -0.0724 0.1105)
OKLCHoklch(59.21% 0.132 123.2)
XYZxyz(15.9049, 21.6607, 4.7092)
Luminance0.2166 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F8A20 #3B208A
analogous
#8A7020 #6F8A20 #3A8A20
triadic
#6F8A20 #206F8A #8A206F
tetradic
#6F8A20 #208A70 #3B208A #8A203A
square
#6F8A20 #208A70 #3B208A #8A203A
split-complementary
#6F8A20 #203A8A #70208A
monochromatic
#1F2709 #475814 #6F8A20 #97BC2C #B3D64E

Accessibility & contrast

On white

3.94
#6F8A20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#6F8A20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6F8A20
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F8A20#FFFFFF#000000##000000
##6F8A201.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#928108
Deuteranopia (green-blind)
#8F802A
Tritanopia (blue-blind)
#758376
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6f8a20;
/* rgb */ color: rgb(111, 138, 32);
/* oklch */ color: oklch(59.2% 0.132 123.2);
Tailwind
colors: {
  custom: {
    50: '#9cac64',
    500: '#6f8a20',
    950: '#000000',
  },
}
SCSS
$custom: #6f8a20;
$custom-light: #9cac64;
$custom-dark: #000000;
JSON
{
  "hex": "#6f8a20",
  "rgb": {
    "r": 111,
    "g": 138,
    "b": 32
  },
  "hsl": {
    "h": 75.283,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.59214,
    "c": 0.13212,
    "h": 123.2
  },
  "luminance": 0.21661
}

Semantic roles & 50–950 ramp

primary
#6F8A20
secondary
#684DB9
accent
#42E56C
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6F8A20

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

Preview Lab → · Contrast checker → · Palette generator →

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