#6F8620#6F8620

#6F8620 is a mid, vivid yellow-green. Relative luminance 0.205; OKLCH L 58.2% C 0.127 H 121.8°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#6F8620
RGBrgb(111, 134, 32)
HSLhsl(74, 61%, 33%)
HSVhsv(74, 76%, 53%)
CMYKcmyk(17.2%, 0%, 76.1%, 47.5%)
CIE-LABlab(52.44, -22.74, 48.73)
CIE-LCHlch(52.44, 53.78, 115.02°)
OKLaboklab(58.22% -0.0669 0.1081)
OKLCHoklch(58.22% 0.127 121.8)
XYZxyz(15.3416, 20.5340, 4.5214)
Luminance0.2053 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F8620 #372086
analogous
#866A20 #6F8620 #3C8620
triadic
#6F8620 #206F86 #86206F
tetradic
#6F8620 #20866A #372086 #86203C
square
#6F8620 #20866A #372086 #86203C
split-complementary
#6F8620 #203C86 #6A2086
monochromatic
#1D2308 #465514 #6F8620 #98B72C #B6D44C

Accessibility & contrast

On white

4.11
#6F8620 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#6F8620 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6F8620
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F8620#FFFFFF#000000##000000
##6F86201.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E0A
Deuteranopia (green-blind)
#8C7D29
Tritanopia (blue-blind)
#757F73
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #6f8620;
/* rgb */ color: rgb(111, 134, 32);
/* oklch */ color: oklch(58.2% 0.127 121.8);
Tailwind
colors: {
  custom: {
    50: '#9ba964',
    500: '#6f8620',
    950: '#000000',
  },
}
SCSS
$custom: #6f8620;
$custom-light: #9ba964;
$custom-dark: #000000;
JSON
{
  "hex": "#6f8620",
  "rgb": {
    "r": 111,
    "g": 134,
    "b": 32
  },
  "hsl": {
    "h": 73.529,
    "s": 61.446,
    "l": 32.549
  },
  "oklch": {
    "l": 0.58221,
    "c": 0.12708,
    "h": 121.8
  },
  "luminance": 0.20534
}

Semantic roles & 50–950 ramp

primary
#6F8620
secondary
#634BB7
accent
#43E568
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F06
muted
#7E7F7A

Preview Lab

Preview with #6F8620

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

Preview Lab → · Contrast checker → · Palette generator →

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