#6A8719#6A8719

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

Color values

HEX#6A8719
RGBrgb(106, 135, 25)
HSLhsl(76, 69%, 31%)
HSVhsv(76, 81%, 53%)
CMYKcmyk(21.5%, 0%, 81.5%, 47.1%)
CIE-LABlab(52.36, -25.74, 50.87)
CIE-LCHlch(52.36, 57.01, 116.84°)
OKLaboklab(58.05% -0.0753 0.1115)
OKLCHoklch(58.05% 0.135 124)
XYZxyz(14.7835, 20.4622, 4.0903)
Luminance0.2046 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A8719 #361987
analogous
#876D19 #6A8719 #338719
triadic
#6A8719 #196A87 #87196A
tetradic
#6A8719 #19876D #361987 #871933
square
#6A8719 #19876D #361987 #871933
split-complementary
#6A8719 #193387 #6D1987
monochromatic
#192006 #41530F #6A8719 #93BB23 #B2DB3F

Accessibility & contrast

On white

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

On black

5.09
#6A8719 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A8719
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A8719#FFFFFF#000000##000000
##6A87191.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#8B7D25
Tritanopia (blue-blind)
#708073
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #6a8719;
/* rgb */ color: rgb(106, 135, 25);
/* oklch */ color: oklch(58.1% 0.135 124.0);
Tailwind
colors: {
  custom: {
    50: '#98aa61',
    500: '#6a8719',
    950: '#000000',
  },
}
SCSS
$custom: #6a8719;
$custom-light: #98aa61;
$custom-dark: #000000;
JSON
{
  "hex": "#6a8719",
  "rgb": {
    "r": 106,
    "g": 135,
    "b": 25
  },
  "hsl": {
    "h": 75.818,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.58054,
    "c": 0.13457,
    "h": 124
  },
  "luminance": 0.20462
}

Semantic roles & 50–950 ramp

primary
#6A8719
secondary
#6141BA
accent
#3CEC6A
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #6A8719

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

Preview Lab → · Contrast checker → · Palette generator →

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