#6F8A2C#6F8A2C

#6F8A2C is a mid, vivid yellow-green. Relative luminance 0.217; OKLCH L 59.3% C 0.124 H 123.9°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#6F8A2C
RGBrgb(111, 138, 44)
HSLhsl(77, 52%, 36%)
HSVhsv(77, 68%, 54%)
CMYKcmyk(19.6%, 0%, 68.1%, 45.9%)
CIE-LABlab(53.75, -23.99, 45.31)
CIE-LCHlch(53.75, 51.27, 117.91°)
OKLaboklab(59.31% -0.0692 0.1028)
OKLCHoklch(59.31% 0.124 123.9)
XYZxyz(16.0988, 21.7382, 5.7301)
Luminance0.2174 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F8A2C #472C8A
analogous
#8A762C #6F8A2C #408A2C
triadic
#6F8A2C #2C6F8A #8A2C6F
tetradic
#6F8A2C #2C8A76 #472C8A #8A2C40
square
#6F8A2C #2C8A76 #472C8A #8A2C40
split-complementary
#6F8A2C #2C408A #762C8A
monochromatic
#242D0E #4A5C1D #6F8A2C #94B83B #AFCD63

Accessibility & contrast

On white

3.93
#6F8A2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#6F8A2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6F8A2C
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F8A2C#FFFFFF#000000##000000
##6F8A2C1.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#92811F
Deuteranopia (green-blind)
#8E8033
Tritanopia (blue-blind)
#748377
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6f8a2c;
/* rgb */ color: rgb(111, 138, 44);
/* oklch */ color: oklch(59.3% 0.124 123.9);
Tailwind
colors: {
  custom: {
    50: '#9bac6a',
    500: '#6f8a2c',
    950: '#000000',
  },
}
SCSS
$custom: #6f8a2c;
$custom-light: #9bac6a;
$custom-dark: #000000;
JSON
{
  "hex": "#6f8a2c",
  "rgb": {
    "r": 111,
    "g": 138,
    "b": 44
  },
  "hsl": {
    "h": 77.234,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.59308,
    "c": 0.12394,
    "h": 123.9
  },
  "luminance": 0.21738
}

Semantic roles & 50–950 ramp

primary
#6F8A2C
secondary
#775EB4
accent
#4DDB76
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1007
muted
#7E7F7A

Preview Lab

Preview with #6F8A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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