#6F8218#6F8218

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

Color values

HEX#6F8218
RGBrgb(111, 130, 24)
HSLhsl(71, 69%, 30%)
HSVhsv(71, 82%, 51%)
CMYKcmyk(14.6%, 0%, 81.5%, 49%)
CIE-LABlab(51.16, -21.09, 50.24)
CIE-LCHlch(51.16, 54.48, 112.78°)
OKLaboklab(57.18% -0.063 0.1098)
OKLCHoklch(57.18% 0.127 119.8)
XYZxyz(14.7034, 19.4108, 3.8360)
Luminance0.1941 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F8218 #2B1882
analogous
#826018 #6F8218 #3A8218
triadic
#6F8218 #186F82 #82186F
tetradic
#6F8218 #188260 #2B1882 #82183A
square
#6F8218 #188260 #2B1882 #82183A
split-complementary
#6F8218 #183A82 #601882
monochromatic
#171B05 #434E0E #6F8218 #9BB622 #BEDB3A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6F8218#FFFFFF#000000##000000
##6F82181.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)
#897A23
Tritanopia (blue-blind)
#767B6F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #6f8218;
/* rgb */ color: rgb(111, 130, 24);
/* oklch */ color: oklch(57.2% 0.127 119.8);
Tailwind
colors: {
  custom: {
    50: '#9ca65f',
    500: '#6f8218',
    950: '#000000',
  },
}
SCSS
$custom: #6f8218;
$custom-light: #9ca65f;
$custom-dark: #000000;
JSON
{
  "hex": "#6f8218",
  "rgb": {
    "r": 111,
    "g": 130,
    "b": 24
  },
  "hsl": {
    "h": 70.755,
    "s": 68.831,
    "l": 30.196
  },
  "oklch": {
    "l": 0.57182,
    "c": 0.1266,
    "h": 119.8
  },
  "luminance": 0.19411
}

Semantic roles & 50–950 ramp

primary
#6F8218
secondary
#5540B6
accent
#3CEC5C
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0F0F05
muted
#7E7F79

Preview Lab

Preview with #6F8218

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

Preview Lab → · Contrast checker → · Palette generator →

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