#6F8A1C#6F8A1C

#6F8A1C is a mid, vivid yellow-green. Relative luminance 0.216; OKLCH L 59.2% C 0.134 H 123.0°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#6F8A1C
RGBrgb(111, 138, 28)
HSLhsl(75, 66%, 33%)
HSVhsv(75, 80%, 54%)
CMYKcmyk(19.6%, 0%, 79.7%, 45.9%)
CIE-LABlab(53.64, -24.95, 51.23)
CIE-LCHlch(53.64, 56.99, 115.97°)
OKLaboklab(59.19% -0.0733 0.1126)
OKLCHoklch(59.19% 0.134 123)
XYZxyz(15.8538, 21.6402, 4.4401)
Luminance0.2164 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F8A1C #371C8A
analogous
#8A6E1C #6F8A1C #388A1C
triadic
#6F8A1C #1C6F8A #8A1C6F
tetradic
#6F8A1C #1C8A6E #371C8A #8A1C38
square
#6F8A1C #1C8A6E #371C8A #8A1C38
split-complementary
#6F8A1C #1C388A #6E1C8A
monochromatic
#1D2407 #465712 #6F8A1C #98BD26 #B6DA47

Accessibility & contrast

On white

3.94
#6F8A1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#6F8A1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6F8A1C
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F8A1C#FFFFFF#000000##000000
##6F8A1C1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#8F8027
Tritanopia (blue-blind)
#758376
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6f8a1c;
/* rgb */ color: rgb(111, 138, 28);
/* oklch */ color: oklch(59.2% 0.134 123.0);
Tailwind
colors: {
  custom: {
    50: '#9cac62',
    500: '#6f8a1c',
    950: '#000000',
  },
}
SCSS
$custom: #6f8a1c;
$custom-light: #9cac62;
$custom-dark: #000000;
JSON
{
  "hex": "#6f8a1c",
  "rgb": {
    "r": 111,
    "g": 138,
    "b": 28
  },
  "hsl": {
    "h": 74.727,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.59189,
    "c": 0.13436,
    "h": 123
  },
  "luminance": 0.2164
}

Semantic roles & 50–950 ramp

primary
#6F8A1C
secondary
#6346BB
accent
#3FE968
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0F1006
muted
#7E7F7A

Preview Lab

Preview with #6F8A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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