#6D7F1A#6D7F1A

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

Color values

HEX#6D7F1A
RGBrgb(109, 127, 26)
HSLhsl(71, 66%, 30%)
HSVhsv(71, 80%, 50%)
CMYKcmyk(14.2%, 0%, 79.5%, 50.2%)
CIE-LABlab(50.10, -20.35, 48.57)
CIE-LCHlch(50.10, 52.66, 112.73°)
OKLaboklab(56.29% -0.0607 0.1067)
OKLCHoklch(56.29% 0.123 119.6)
XYZxyz(14.0828, 18.5046, 3.8069)
Luminance0.1850 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D7F1A #2C1A7F
analogous
#7F5E1A #6D7F1A #3B7F1A
triadic
#6D7F1A #1A6D7F #7F1A6D
tetradic
#6D7F1A #1A7F5E #2C1A7F #7F1A3B
square
#6D7F1A #1A7F5E #2C1A7F #7F1A3B
split-complementary
#6D7F1A #1A3B7F #5E1A7F
monochromatic
#161905 #414C10 #6D7F1A #99B224 #BCD73C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6D7F1A#FFFFFF#000000##000000
##6D7F1A1.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)
#887700
Deuteranopia (green-blind)
#867724
Tritanopia (blue-blind)
#74786C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #6d7f1a;
/* rgb */ color: rgb(109, 127, 26);
/* oklch */ color: oklch(56.3% 0.123 119.6);
Tailwind
colors: {
  custom: {
    50: '#9aa460',
    500: '#6d7f1a',
    950: '#000000',
  },
}
SCSS
$custom: #6d7f1a;
$custom-light: #9aa460;
$custom-dark: #000000;
JSON
{
  "hex": "#6d7f1a",
  "rgb": {
    "r": 109,
    "g": 127,
    "b": 26
  },
  "hsl": {
    "h": 70.693,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.56291,
    "c": 0.12276,
    "h": 119.6
  },
  "luminance": 0.18505
}

Semantic roles & 50–950 ramp

primary
#6D7F1A
secondary
#5642B3
accent
#3FE95D
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6D7F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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