#6A8A1F#6A8A1F

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

Color values

HEX#6A8A1F
RGBrgb(106, 138, 31)
HSLhsl(78, 63%, 33%)
HSVhsv(78, 78%, 54%)
CMYKcmyk(23.2%, 0%, 77.5%, 45.9%)
CIE-LABlab(53.32, -26.92, 49.81)
CIE-LCHlch(53.32, 56.62, 118.39°)
OKLaboklab(58.85% -0.0781 0.1103)
OKLCHoklch(58.85% 0.135 125.3)
XYZxyz(15.2798, 21.3399, 4.6101)
Luminance0.2134 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A8A1F #3F1F8A
analogous
#8A741F #6A8A1F #348A1F
triadic
#6A8A1F #1F6A8A #8A1F6A
tetradic
#6A8A1F #1F8A74 #3F1F8A #8A1F34
square
#6A8A1F #1F8A74 #3F1F8A #8A1F34
split-complementary
#6A8A1F #1F348A #741F8A
monochromatic
#1D2609 #445814 #6A8A1F #90BC2A #AED74C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A8A1F#FFFFFF#000000##000000
##6A8A1F1.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)
#928105
Deuteranopia (green-blind)
#8E7F29
Tritanopia (blue-blind)
#6F8376
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6a8a1f;
/* rgb */ color: rgb(106, 138, 31);
/* oklch */ color: oklch(58.8% 0.135 125.3);
Tailwind
colors: {
  custom: {
    50: '#98ac64',
    500: '#6a8a1f',
    950: '#000000',
  },
}
SCSS
$custom: #6a8a1f;
$custom-light: #98ac64;
$custom-dark: #000000;
JSON
{
  "hex": "#6a8a1f",
  "rgb": {
    "r": 106,
    "g": 138,
    "b": 31
  },
  "hsl": {
    "h": 77.944,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.58845,
    "c": 0.13514,
    "h": 125.3
  },
  "luminance": 0.2134
}

Semantic roles & 50–950 ramp

primary
#6A8A1F
secondary
#6C4BBA
accent
#41E673
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6A8A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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