#6F7A40#6F7A40

#6F7A40 is a mid, moderate yellow-green. Relative luminance 0.177; OKLCH L 55.6% C 0.082 H 118.0°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#6F7A40
RGBrgb(111, 122, 64)
HSLhsl(71, 31%, 36%)
HSVhsv(71, 48%, 48%)
CMYKcmyk(9%, 0%, 47.5%, 52.2%)
CIE-LABlab(49.09, -13.77, 30.25)
CIE-LCHlch(49.09, 33.23, 114.48°)
OKLaboklab(55.63% -0.0386 0.0727)
OKLCHoklch(55.63% 0.082 118)
XYZxyz(14.4406, 17.6688, 7.4992)
Luminance0.1767 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F7A40 #4B407A
analogous
#7A6840 #6F7A40 #527A40
triadic
#6F7A40 #406F7A #7A406F
tetradic
#6F7A40 #407A68 #4B407A #7A4052
square
#6F7A40 #407A68 #4B407A #7A4052
split-complementary
#6F7A40 #40527A #68407A
monochromatic
#262A16 #4A522B #6F7A40 #94A255 #AEBA7B

Accessibility & contrast

On white

4.63
#6F7A40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#6F7A40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6F7A40
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F7A40#FFFFFF#000000##FFFFFF
##6F7A401.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81753B
Deuteranopia (green-blind)
#807543
Tritanopia (blue-blind)
#74746C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6f7a40;
/* rgb */ color: rgb(111, 122, 64);
/* oklch */ color: oklch(55.6% 0.082 118.0);
Tailwind
colors: {
  custom: {
    50: '#99a076',
    500: '#6f7a40',
    950: '#000000',
  },
}
SCSS
$custom: #6f7a40;
$custom-light: #99a076;
$custom-dark: #000000;
JSON
{
  "hex": "#6f7a40",
  "rgb": {
    "r": 111,
    "g": 122,
    "b": 64
  },
  "hsl": {
    "h": 71.379,
    "s": 31.183,
    "l": 36.471
  },
  "oklch": {
    "l": 0.55634,
    "c": 0.08228,
    "h": 118
  },
  "luminance": 0.17669
}

Semantic roles & 50–950 ramp

primary
#6F7A40
secondary
#7B72A4
accent
#60C774
background
#F9F9F7
surface
#F2F2ED
border
#CCCCC8
text
#0E0E08
muted
#7E7E7B

Preview Lab

Preview with #6F7A40

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

Preview Lab → · Contrast checker → · Palette generator →

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