#6F8D18#6F8D18

#6F8D18 is a mid, vivid yellow-green. Relative luminance 0.225; OKLCH L 59.9% C 0.140 H 123.9°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#6F8D18
RGBrgb(111, 141, 24)
HSLhsl(75, 71%, 32%)
HSVhsv(75, 83%, 55%)
CMYKcmyk(21.3%, 0%, 83%, 44.7%)
CIE-LABlab(54.55, -26.61, 53.26)
CIE-LCHlch(54.55, 59.54, 116.54°)
OKLaboklab(59.92% -0.0781 0.1162)
OKLCHoklch(59.92% 0.14 123.9)
XYZxyz(16.2455, 22.4951, 4.3501)
Luminance0.2250 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F8D18 #36188D
analogous
#8D7118 #6F8D18 #348D18
triadic
#6F8D18 #186F8D #8D186F
tetradic
#6F8D18 #188D71 #36188D #8D1834
square
#6F8D18 #188D71 #36188D #8D1834
split-complementary
#6F8D18 #18348D #71188D
monochromatic
#1D2406 #46590F #6F8D18 #98C121 #B6DF41

Accessibility & contrast

On white

3.82
#6F8D18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#6F8D18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6F8D18
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F8D18#FFFFFF#000000##000000
##6F8D181.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#928225
Tritanopia (blue-blind)
#758678
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #6f8d18;
/* rgb */ color: rgb(111, 141, 24);
/* oklch */ color: oklch(59.9% 0.140 123.9);
Tailwind
colors: {
  custom: {
    50: '#9cae61',
    500: '#6f8d18',
    950: '#000000',
  },
}
SCSS
$custom: #6f8d18;
$custom-light: #9cae61;
$custom-dark: #000000;
JSON
{
  "hex": "#6f8d18",
  "rgb": {
    "r": 111,
    "g": 141,
    "b": 24
  },
  "hsl": {
    "h": 75.385,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.59916,
    "c": 0.14002,
    "h": 123.9
  },
  "luminance": 0.22495
}

Semantic roles & 50–950 ramp

primary
#6F8D18
secondary
#6242BF
accent
#3AEE68
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0F1005
muted
#7E7F7A

Preview Lab

Preview with #6F8D18

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

Preview Lab → · Contrast checker → · Palette generator →

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