#6A8A1D#6A8A1D

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

Color values

HEX#6A8A1D
RGBrgb(106, 138, 29)
HSLhsl(78, 65%, 33%)
HSVhsv(78, 79%, 54%)
CMYKcmyk(23.2%, 0%, 79%, 45.9%)
CIE-LABlab(53.31, -27.02, 50.47)
CIE-LCHlch(53.31, 57.25, 118.16°)
OKLaboklab(58.83% -0.0785 0.1114)
OKLCHoklch(58.83% 0.136 125.2)
XYZxyz(15.2542, 21.3296, 4.4755)
Luminance0.2133 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A8A1D #3D1D8A
analogous
#8A741D #6A8A1D #338A1D
triadic
#6A8A1D #1D6A8A #8A1D6A
tetradic
#6A8A1D #1D8A74 #3D1D8A #8A1D33
square
#6A8A1D #1D8A74 #3D1D8A #8A1D33
split-complementary
#6A8A1D #1D338A #741D8A
monochromatic
#1C2508 #435712 #6A8A1D #91BD28 #AED949

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A8A1D#FFFFFF#000000##000000
##6A8A1D1.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)
#8E7F28
Tritanopia (blue-blind)
#6F8376
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6a8a1d;
/* rgb */ color: rgb(106, 138, 29);
/* oklch */ color: oklch(58.8% 0.136 125.2);
Tailwind
colors: {
  custom: {
    50: '#98ac63',
    500: '#6a8a1d',
    950: '#000000',
  },
}
SCSS
$custom: #6a8a1d;
$custom-light: #98ac63;
$custom-dark: #000000;
JSON
{
  "hex": "#6a8a1d",
  "rgb": {
    "r": 106,
    "g": 138,
    "b": 29
  },
  "hsl": {
    "h": 77.615,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.58832,
    "c": 0.13626,
    "h": 125.2
  },
  "luminance": 0.2133
}

Semantic roles & 50–950 ramp

primary
#6A8A1D
secondary
#6A48BB
accent
#40E871
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6A8A1D

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

Preview Lab → · Contrast checker → · Palette generator →

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