#6A8A1B#6A8A1B

#6A8A1B 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.26:1 contrast (WCAG AA passes).

Color values

HEX#6A8A1B
RGBrgb(106, 138, 27)
HSLhsl(77, 67%, 32%)
HSVhsv(77, 80%, 54%)
CMYKcmyk(23.2%, 0%, 80.4%, 45.9%)
CIE-LABlab(53.30, -27.12, 51.11)
CIE-LCHlch(53.30, 57.86, 117.95°)
OKLaboklab(58.82% -0.079 0.1124)
OKLCHoklch(58.82% 0.137 125.1)
XYZxyz(15.2303, 21.3201, 4.3495)
Luminance0.2132 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A8A1B #3B1B8A
analogous
#8A721B #6A8A1B #338A1B
triadic
#6A8A1B #1B6A8A #8A1B6A
tetradic
#6A8A1B #1B8A72 #3B1B8A #8A1B33
square
#6A8A1B #1B8A72 #3B1B8A #8A1B33
split-complementary
#6A8A1B #1B338A #721B8A
monochromatic
#1B2407 #435711 #6A8A1B #91BD25 #AFDB45

Accessibility & contrast

On white

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

On black

5.26
#6A8A1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A8A1B
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A8A1B#FFFFFF#000000##000000
##6A8A1B1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a8a1b;
/* rgb */ color: rgb(106, 138, 27);
/* oklch */ color: oklch(58.8% 0.137 125.1);
Tailwind
colors: {
  custom: {
    50: '#98ac62',
    500: '#6a8a1b',
    950: '#000000',
  },
}
SCSS
$custom: #6a8a1b;
$custom-light: #98ac62;
$custom-dark: #000000;
JSON
{
  "hex": "#6a8a1b",
  "rgb": {
    "r": 106,
    "g": 138,
    "b": 27
  },
  "hsl": {
    "h": 77.297,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.58821,
    "c": 0.13732,
    "h": 125.1
  },
  "luminance": 0.2132
}

Semantic roles & 50–950 ramp

primary
#6A8A1B
secondary
#6745BC
accent
#3EEA6F
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #6A8A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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