#6F7A42#6F7A42

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

Color values

HEX#6F7A42
RGBrgb(111, 122, 66)
HSLhsl(72, 30%, 37%)
HSVhsv(72, 46%, 48%)
CMYKcmyk(9%, 0%, 45.9%, 52.2%)
CIE-LABlab(49.12, -13.54, 29.20)
CIE-LCHlch(49.12, 32.18, 114.87°)
OKLaboklab(55.67% -0.0378 0.0705)
OKLCHoklch(55.67% 0.08 118.2)
XYZxyz(14.4985, 17.6920, 7.8043)
Luminance0.1769 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F7A42 #4D427A
analogous
#7A6942 #6F7A42 #537A42
triadic
#6F7A42 #426F7A #7A426F
tetradic
#6F7A42 #427A69 #4D427A #7A4253
square
#6F7A42 #427A69 #4D427A #7A4253
split-complementary
#6F7A42 #42537A #69427A
monochromatic
#272B17 #4B522D #6F7A42 #93A257 #ADB97D

Accessibility & contrast

On white

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

On black

4.54
#6F7A42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6F7A42#FFFFFF#000000##FFFFFF
##6F7A421.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81753D
Deuteranopia (green-blind)
#7F7545
Tritanopia (blue-blind)
#74756D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6f7a42;
/* rgb */ color: rgb(111, 122, 66);
/* oklch */ color: oklch(55.7% 0.080 118.2);
Tailwind
colors: {
  custom: {
    50: '#99a077',
    500: '#6f7a42',
    950: '#000000',
  },
}
SCSS
$custom: #6f7a42;
$custom-light: #99a077;
$custom-dark: #000000;
JSON
{
  "hex": "#6f7a42",
  "rgb": {
    "r": 111,
    "g": 122,
    "b": 66
  },
  "hsl": {
    "h": 71.786,
    "s": 29.787,
    "l": 36.863
  },
  "oklch": {
    "l": 0.55666,
    "c": 0.07994,
    "h": 118.2
  },
  "luminance": 0.17692
}

Semantic roles & 50–950 ramp

primary
#6F7A42
secondary
#7D74A4
accent
#62C675
background
#F9F9F7
surface
#F2F2ED
border
#CCCCC8
text
#0E0E09
muted
#7E7E7B

Preview Lab

Preview with #6F7A42

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

Preview Lab → · Contrast checker → · Palette generator →

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