#6A871D#6A871D

#6A871D is a mid, vivid yellow-green. Relative luminance 0.205; OKLCH L 58.1% C 0.132 H 124.2°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#6A871D
RGBrgb(106, 135, 29)
HSLhsl(76, 65%, 32%)
HSVhsv(76, 79%, 53%)
CMYKcmyk(21.5%, 0%, 78.5%, 47.1%)
CIE-LABlab(52.38, -25.55, 49.60)
CIE-LCHlch(52.38, 55.80, 117.25°)
OKLaboklab(58.08% -0.0745 0.1095)
OKLCHoklch(58.08% 0.132 124.2)
XYZxyz(14.8298, 20.4807, 4.3340)
Luminance0.2048 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A871D #3A1D87
analogous
#876F1D #6A871D #35871D
triadic
#6A871D #1D6A87 #871D6A
tetradic
#6A871D #1D876F #3A1D87 #871D35
square
#6A871D #1D876F #3A1D87 #871D35
split-complementary
#6A871D #1D3587 #6F1D87
monochromatic
#1B2207 #425512 #6A871D #92B928 #B0D747

Accessibility & contrast

On white

4.12
#6A871D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#6A871D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A871D
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A871D#FFFFFF#000000##000000
##6A871D1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E02
Deuteranopia (green-blind)
#8B7D27
Tritanopia (blue-blind)
#6F8073
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #6a871d;
/* rgb */ color: rgb(106, 135, 29);
/* oklch */ color: oklch(58.1% 0.132 124.2);
Tailwind
colors: {
  custom: {
    50: '#98aa62',
    500: '#6a871d',
    950: '#000000',
  },
}
SCSS
$custom: #6a871d;
$custom-light: #98aa62;
$custom-dark: #000000;
JSON
{
  "hex": "#6a871d",
  "rgb": {
    "r": 106,
    "g": 135,
    "b": 29
  },
  "hsl": {
    "h": 76.415,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.58078,
    "c": 0.13245,
    "h": 124.2
  },
  "luminance": 0.20481
}

Semantic roles & 50–950 ramp

primary
#6A871D
secondary
#6646B9
accent
#40E86E
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6A871D

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

Preview Lab → · Contrast checker → · Palette generator →

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