#6F8E1C#6F8E1C

#6F8E1C is a mid, vivid yellow-green. Relative luminance 0.228; OKLCH L 60.2% C 0.139 H 124.4°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#6F8E1C
RGBrgb(111, 142, 28)
HSLhsl(76, 67%, 33%)
HSVhsv(76, 80%, 56%)
CMYKcmyk(21.8%, 0%, 80.3%, 44.3%)
CIE-LABlab(54.88, -26.92, 52.37)
CIE-LCHlch(54.88, 58.88, 117.21°)
OKLaboklab(60.19% -0.0786 0.115)
OKLCHoklch(60.19% 0.139 124.4)
XYZxyz(16.4383, 22.8092, 4.6350)
Luminance0.2281 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F8E1C #3B1C8E
analogous
#8E741C #6F8E1C #368E1C
triadic
#6F8E1C #1C6F8E #8E1C6F
tetradic
#6F8E1C #1C8E74 #3B1C8E #8E1C36
square
#6F8E1C #1C8E74 #3B1C8E #8E1C36
split-complementary
#6F8E1C #1C368E #741C8E
monochromatic
#1F2808 #475B12 #6F8E1C #97C126 #B3DB49

Accessibility & contrast

On white

3.78
#6F8E1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#6F8E1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6F8E1C
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F8E1C#FFFFFF#000000##000000
##6F8E1C1.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#928328
Tritanopia (blue-blind)
#758779
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #6f8e1c;
/* rgb */ color: rgb(111, 142, 28);
/* oklch */ color: oklch(60.2% 0.139 124.4);
Tailwind
colors: {
  custom: {
    50: '#9caf63',
    500: '#6f8e1c',
    950: '#000000',
  },
}
SCSS
$custom: #6f8e1c;
$custom-light: #9caf63;
$custom-dark: #000000;
JSON
{
  "hex": "#6f8e1c",
  "rgb": {
    "r": 111,
    "g": 142,
    "b": 28
  },
  "hsl": {
    "h": 76.316,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.60186,
    "c": 0.13933,
    "h": 124.4
  },
  "luminance": 0.22809
}

Semantic roles & 50–950 ramp

primary
#6F8E1C
secondary
#6849BD
accent
#3EEA6D
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0F1006
muted
#7E7F7A

Preview Lab

Preview with #6F8E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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