#6F8216#6F8216

#6F8216 is a mid, vivid yellow-green. Relative luminance 0.194; OKLCH L 57.2% C 0.128 H 119.8°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#6F8216
RGBrgb(111, 130, 22)
HSLhsl(71, 71%, 30%)
HSVhsv(71, 83%, 51%)
CMYKcmyk(14.6%, 0%, 83.1%, 49%)
CIE-LABlab(51.16, -21.18, 50.83)
CIE-LCHlch(51.16, 55.06, 112.62°)
OKLaboklab(57.17% -0.0634 0.1107)
OKLCHoklch(57.17% 0.128 119.8)
XYZxyz(14.6833, 19.4028, 3.7305)
Luminance0.1940 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F8216 #291682
analogous
#825F16 #6F8216 #398216
triadic
#6F8216 #166F82 #82166F
tetradic
#6F8216 #16825F #291682 #821639
square
#6F8216 #16825F #291682 #821639
split-complementary
#6F8216 #163982 #5F1682
monochromatic
#161A04 #424E0D #6F8216 #9CB61F #BFDD35

Accessibility & contrast

On white

4.30
#6F8216 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#6F8216 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6F8216
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F8216#FFFFFF#000000##000000
##6F82161.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#897A21
Tritanopia (blue-blind)
#767B6F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #6f8216;
/* rgb */ color: rgb(111, 130, 22);
/* oklch */ color: oklch(57.2% 0.128 119.8);
Tailwind
colors: {
  custom: {
    50: '#9ca65f',
    500: '#6f8216',
    950: '#000000',
  },
}
SCSS
$custom: #6f8216;
$custom-light: #9ca65f;
$custom-dark: #000000;
JSON
{
  "hex": "#6f8216",
  "rgb": {
    "r": 111,
    "g": 130,
    "b": 22
  },
  "hsl": {
    "h": 70.556,
    "s": 71.053,
    "l": 29.804
  },
  "oklch": {
    "l": 0.57171,
    "c": 0.12757,
    "h": 119.8
  },
  "luminance": 0.19403
}

Semantic roles & 50–950 ramp

primary
#6F8216
secondary
#533DB7
accent
#3AEE5A
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0F0F05
muted
#7E7F79

Preview Lab

Preview with #6F8216

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

Preview Lab → · Contrast checker → · Palette generator →

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