#6A8A1C#6A8A1C

#6A8A1C is a mid, vivid yellow-green. Relative luminance 0.213; OKLCH L 58.8% C 0.137 H 125.1°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#6A8A1C
RGBrgb(106, 138, 28)
HSLhsl(77, 66%, 33%)
HSVhsv(77, 80%, 54%)
CMYKcmyk(23.2%, 0%, 79.7%, 45.9%)
CIE-LABlab(53.30, -27.07, 50.80)
CIE-LCHlch(53.30, 57.56, 118.06°)
OKLaboklab(58.83% -0.0787 0.1119)
OKLCHoklch(58.83% 0.137 125.1)
XYZxyz(15.2421, 21.3248, 4.4115)
Luminance0.2132 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A8A1C #3C1C8A
analogous
#8A731C #6A8A1C #338A1C
triadic
#6A8A1C #1C6A8A #8A1C6A
tetradic
#6A8A1C #1C8A73 #3C1C8A #8A1C33
square
#6A8A1C #1C8A73 #3C1C8A #8A1C33
split-complementary
#6A8A1C #1C338A #731C8A
monochromatic
#1C2407 #435712 #6A8A1C #91BD26 #AFDA47

Accessibility & contrast

On white

3.99
#6A8A1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#6A8A1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A8A1C
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A8A1C#FFFFFF#000000##000000
##6A8A1C1.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#8E7F27
Tritanopia (blue-blind)
#6F8376
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6a8a1c;
/* rgb */ color: rgb(106, 138, 28);
/* oklch */ color: oklch(58.8% 0.137 125.1);
Tailwind
colors: {
  custom: {
    50: '#98ac62',
    500: '#6a8a1c',
    950: '#000000',
  },
}
SCSS
$custom: #6a8a1c;
$custom-light: #98ac62;
$custom-dark: #000000;
JSON
{
  "hex": "#6a8a1c",
  "rgb": {
    "r": 106,
    "g": 138,
    "b": 28
  },
  "hsl": {
    "h": 77.455,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.58827,
    "c": 0.1368,
    "h": 125.1
  },
  "luminance": 0.21325
}

Semantic roles & 50–950 ramp

primary
#6A8A1C
secondary
#6846BB
accent
#3FE970
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6A8A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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