#6F8A1B#6F8A1B

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

Color values

HEX#6F8A1B
RGBrgb(111, 138, 27)
HSLhsl(75, 67%, 32%)
HSVhsv(75, 80%, 54%)
CMYKcmyk(19.6%, 0%, 80.4%, 45.9%)
CIE-LABlab(53.64, -25.00, 51.55)
CIE-LCHlch(53.64, 57.29, 115.87°)
OKLaboklab(59.18% -0.0735 0.1131)
OKLCHoklch(59.18% 0.135 123)
XYZxyz(15.8421, 21.6355, 4.3782)
Luminance0.2164 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F8A1B #361B8A
analogous
#8A6E1B #6F8A1B #378A1B
triadic
#6F8A1B #1B6F8A #8A1B6F
tetradic
#6F8A1B #1B8A6E #361B8A #8A1B37
square
#6F8A1B #1B8A6E #361B8A #8A1B37
split-complementary
#6F8A1B #1B378A #6E1B8A
monochromatic
#1D2407 #465711 #6F8A1B #98BD25 #B6DB45

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6F8A1B#FFFFFF#000000##000000
##6F8A1B1.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)
#8F8026
Tritanopia (blue-blind)
#758376
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6f8a1b;
/* rgb */ color: rgb(111, 138, 27);
/* oklch */ color: oklch(59.2% 0.135 123.0);
Tailwind
colors: {
  custom: {
    50: '#9cac62',
    500: '#6f8a1b',
    950: '#000000',
  },
}
SCSS
$custom: #6f8a1b;
$custom-light: #9cac62;
$custom-dark: #000000;
JSON
{
  "hex": "#6f8a1b",
  "rgb": {
    "r": 111,
    "g": 138,
    "b": 27
  },
  "hsl": {
    "h": 74.595,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.59184,
    "c": 0.13488,
    "h": 123
  },
  "luminance": 0.21636
}

Semantic roles & 50–950 ramp

primary
#6F8A1B
secondary
#6245BC
accent
#3EEA68
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0F1006
muted
#7E7F7A

Preview Lab

Preview with #6F8A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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