#6D7F1B#6D7F1B

#6D7F1B is a mid, vivid yellow-green. Relative luminance 0.185; OKLCH L 56.3% C 0.122 H 119.7°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#6D7F1B
RGBrgb(109, 127, 27)
HSLhsl(71, 65%, 30%)
HSVhsv(71, 79%, 50%)
CMYKcmyk(14.2%, 0%, 78.7%, 50.2%)
CIE-LABlab(50.11, -20.30, 48.24)
CIE-LCHlch(50.11, 52.34, 112.82°)
OKLaboklab(56.3% -0.0605 0.1062)
OKLCHoklch(56.3% 0.122 119.7)
XYZxyz(14.0942, 18.5092, 3.8668)
Luminance0.1851 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D7F1B #2D1B7F
analogous
#7F5F1B #6D7F1B #3B7F1B
triadic
#6D7F1B #1B6D7F #7F1B6D
tetradic
#6D7F1B #1B7F5F #2D1B7F #7F1B3B
square
#6D7F1B #1B7F5F #2D1B7F #7F1B3B
split-complementary
#6D7F1B #1B3B7F #5F1B7F
monochromatic
#161A06 #424D10 #6D7F1B #98B126 #BBD63E

Accessibility & contrast

On white

4.47
#6D7F1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#6D7F1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6D7F1B
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D7F1B#FFFFFF#000000##000000
##6D7F1B1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#887702
Deuteranopia (green-blind)
#857724
Tritanopia (blue-blind)
#74786C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #6d7f1b;
/* rgb */ color: rgb(109, 127, 27);
/* oklch */ color: oklch(56.3% 0.122 119.7);
Tailwind
colors: {
  custom: {
    50: '#9aa460',
    500: '#6d7f1b',
    950: '#000000',
  },
}
SCSS
$custom: #6d7f1b;
$custom-light: #9aa460;
$custom-dark: #000000;
JSON
{
  "hex": "#6d7f1b",
  "rgb": {
    "r": 109,
    "g": 127,
    "b": 27
  },
  "hsl": {
    "h": 70.8,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.56297,
    "c": 0.1222,
    "h": 119.7
  },
  "luminance": 0.18509
}

Semantic roles & 50–950 ramp

primary
#6D7F1B
secondary
#5743B3
accent
#40E85E
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6D7F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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