#6A7D1E#6A7D1E

#6A7D1E is a mid, moderate yellow-green. Relative luminance 0.178; OKLCH L 55.6% C 0.119 H 120.5°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#6A7D1E
RGBrgb(106, 125, 30)
HSLhsl(72, 61%, 30%)
HSVhsv(72, 76%, 49%)
CMYKcmyk(15.2%, 0%, 76%, 51%)
CIE-LABlab(49.28, -20.44, 46.31)
CIE-LCHlch(49.28, 50.62, 113.81°)
OKLaboklab(55.58% -0.0604 0.1028)
OKLCHoklch(55.58% 0.119 120.5)
XYZxyz(13.5121, 17.8252, 3.9568)
Luminance0.1782 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A7D1E #311E7D
analogous
#7D601E #6A7D1E #3A7D1E
triadic
#6A7D1E #1E6A7D #7D1E6A
tetradic
#6A7D1E #1E7D60 #311E7D #7D1E3A
square
#6A7D1E #1E7D60 #311E7D #7D1E3A
split-complementary
#6A7D1E #1E3A7D #601E7D
monochromatic
#161A06 #404C12 #6A7D1E #94AE2A #B5D243

Accessibility & contrast

On white

4.60
#6A7D1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#6A7D1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6A7D1E
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A7D1E#FFFFFF#000000##FFFFFF
##6A7D1E1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85750B
Deuteranopia (green-blind)
#837526
Tritanopia (blue-blind)
#70766B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6a7d1e;
/* rgb */ color: rgb(106, 125, 30);
/* oklch */ color: oklch(55.6% 0.119 120.5);
Tailwind
colors: {
  custom: {
    50: '#98a261',
    500: '#6a7d1e',
    950: '#000000',
  },
}
SCSS
$custom: #6a7d1e;
$custom-light: #98a261;
$custom-dark: #000000;
JSON
{
  "hex": "#6a7d1e",
  "rgb": {
    "r": 106,
    "g": 125,
    "b": 30
  },
  "hsl": {
    "h": 72,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.55581,
    "c": 0.1192,
    "h": 120.5
  },
  "luminance": 0.17825
}

Semantic roles & 50–950 ramp

primary
#6A7D1E
secondary
#5C46B0
accent
#43E464
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0E0F05
muted
#7E7E7A

Preview Lab

Preview with #6A7D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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