#6A871C#6A871C

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

Color values

HEX#6A871C
RGBrgb(106, 135, 28)
HSLhsl(76, 66%, 32%)
HSVhsv(76, 79%, 53%)
CMYKcmyk(21.5%, 0%, 79.3%, 47.1%)
CIE-LABlab(52.37, -25.60, 49.93)
CIE-LCHlch(52.37, 56.11, 117.14°)
OKLaboklab(58.07% -0.0747 0.11)
OKLCHoklch(58.07% 0.133 124.2)
XYZxyz(14.8176, 20.4758, 4.2700)
Luminance0.2048 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A871C #391C87
analogous
#876F1C #6A871C #34871C
triadic
#6A871C #1C6A87 #871C6A
tetradic
#6A871C #1C876F #391C87 #871C34
square
#6A871C #1C876F #391C87 #871C34
split-complementary
#6A871C #1C3487 #6F1C87
monochromatic
#1A2207 #425411 #6A871C #92BA27 #B0D845

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A871C#FFFFFF#000000##000000
##6A871C1.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)
#8F7E00
Deuteranopia (green-blind)
#8B7D27
Tritanopia (blue-blind)
#6F8073
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #6a871c;
/* rgb */ color: rgb(106, 135, 28);
/* oklch */ color: oklch(58.1% 0.133 124.2);
Tailwind
colors: {
  custom: {
    50: '#98aa62',
    500: '#6a871c',
    950: '#000000',
  },
}
SCSS
$custom: #6a871c;
$custom-light: #98aa62;
$custom-dark: #000000;
JSON
{
  "hex": "#6a871c",
  "rgb": {
    "r": 106,
    "g": 135,
    "b": 28
  },
  "hsl": {
    "h": 76.262,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.58072,
    "c": 0.13301,
    "h": 124.2
  },
  "luminance": 0.20476
}

Semantic roles & 50–950 ramp

primary
#6A871C
secondary
#6545BA
accent
#3FE96D
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #6A871C

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

Preview Lab → · Contrast checker → · Palette generator →

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