#6A7D1D#6A7D1D

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

Color values

HEX#6A7D1D
RGBrgb(106, 125, 29)
HSLhsl(72, 62%, 30%)
HSVhsv(72, 77%, 49%)
CMYKcmyk(15.2%, 0%, 76.8%, 51%)
CIE-LABlab(49.28, -20.49, 46.67)
CIE-LCHlch(49.28, 50.97, 113.71°)
OKLaboklab(55.57% -0.0606 0.1033)
OKLCHoklch(55.57% 0.12 120.4)
XYZxyz(13.4995, 17.8202, 3.8906)
Luminance0.1782 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A7D1D #301D7D
analogous
#7D601D #6A7D1D #3A7D1D
triadic
#6A7D1D #1D6A7D #7D1D6A
tetradic
#6A7D1D #1D7D60 #301D7D #7D1D3A
square
#6A7D1D #1D7D60 #301D7D #7D1D3A
split-complementary
#6A7D1D #1D3A7D #601D7D
monochromatic
#161A06 #404B11 #6A7D1D #94AF29 #B6D341

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A7D1D#FFFFFF#000000##FFFFFF
##6A7D1D1.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)
#857508
Deuteranopia (green-blind)
#837526
Tritanopia (blue-blind)
#70766B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6a7d1d;
/* rgb */ color: rgb(106, 125, 29);
/* oklch */ color: oklch(55.6% 0.120 120.4);
Tailwind
colors: {
  custom: {
    50: '#98a261',
    500: '#6a7d1d',
    950: '#000000',
  },
}
SCSS
$custom: #6a7d1d;
$custom-light: #98a261;
$custom-dark: #000000;
JSON
{
  "hex": "#6a7d1d",
  "rgb": {
    "r": 106,
    "g": 125,
    "b": 29
  },
  "hsl": {
    "h": 71.875,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.55574,
    "c": 0.11982,
    "h": 120.4
  },
  "luminance": 0.1782
}

Semantic roles & 50–950 ramp

primary
#6A7D1D
secondary
#5A45B1
accent
#42E563
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0E0F05
muted
#7E7E7A

Preview Lab

Preview with #6A7D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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