#6F8518#6F8518

#6F8518 is a mid, vivid yellow-green. Relative luminance 0.202; OKLCH L 57.9% C 0.130 H 121.1°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#6F8518
RGBrgb(111, 133, 24)
HSLhsl(72, 69%, 31%)
HSVhsv(72, 82%, 52%)
CMYKcmyk(16.5%, 0%, 82%, 47.8%)
CIE-LABlab(52.09, -22.62, 51.06)
CIE-LCHlch(52.09, 55.85, 113.89°)
OKLaboklab(57.93% -0.0672 0.1116)
OKLCHoklch(57.93% 0.13 121.1)
XYZxyz(15.1082, 20.2205, 3.9710)
Luminance0.2022 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F8518 #2E1885
analogous
#856418 #6F8518 #388518
triadic
#6F8518 #186F85 #85186F
tetradic
#6F8518 #188564 #2E1885 #851838
square
#6F8518 #188564 #2E1885 #851838
split-complementary
#6F8518 #183885 #641885
monochromatic
#181D05 #44510F #6F8518 #9AB921 #BBDC3C

Accessibility & contrast

On white

4.16
#6F8518 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#6F8518 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6F8518
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F8518#FFFFFF#000000##000000
##6F85181.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#8B7C23
Tritanopia (blue-blind)
#767E71
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #6f8518;
/* rgb */ color: rgb(111, 133, 24);
/* oklch */ color: oklch(57.9% 0.130 121.1);
Tailwind
colors: {
  custom: {
    50: '#9ca860',
    500: '#6f8518',
    950: '#000000',
  },
}
SCSS
$custom: #6f8518;
$custom-light: #9ca860;
$custom-dark: #000000;
JSON
{
  "hex": "#6f8518",
  "rgb": {
    "r": 111,
    "g": 133,
    "b": 24
  },
  "hsl": {
    "h": 72.11,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.57925,
    "c": 0.13024,
    "h": 121.1
  },
  "luminance": 0.20221
}

Semantic roles & 50–950 ramp

primary
#6F8518
secondary
#5840B9
accent
#3CEC5F
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0F0F05
muted
#7E7F79

Preview Lab

Preview with #6F8518

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

Preview Lab → · Contrast checker → · Palette generator →

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