#6A8819#6A8819

#6A8819 is a mid, vivid yellow-green. Relative luminance 0.207; OKLCH L 58.3% C 0.136 H 124.4°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#6A8819
RGBrgb(106, 136, 25)
HSLhsl(76, 69%, 32%)
HSVhsv(76, 82%, 53%)
CMYKcmyk(22.1%, 0%, 81.6%, 46.7%)
CIE-LABlab(52.67, -26.23, 51.15)
CIE-LCHlch(52.67, 57.49, 117.15°)
OKLaboklab(58.31% -0.0767 0.1121)
OKLCHoklch(58.31% 0.136 124.4)
XYZxyz(14.9236, 20.7425, 4.1370)
Luminance0.2074 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A8819 #371988
analogous
#886F19 #6A8819 #338819
triadic
#6A8819 #196A88 #88196A
tetradic
#6A8819 #19886F #371988 #881933
square
#6A8819 #19886F #371988 #881933
split-complementary
#6A8819 #193388 #6F1988
monochromatic
#192106 #42540F #6A8819 #92BC23 #B2DC40

Accessibility & contrast

On white

4.08
#6A8819 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#6A8819 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A8819
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A8819#FFFFFF#000000##000000
##6A88191.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#8C7D25
Tritanopia (blue-blind)
#6F8174
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6a8819;
/* rgb */ color: rgb(106, 136, 25);
/* oklch */ color: oklch(58.3% 0.136 124.4);
Tailwind
colors: {
  custom: {
    50: '#98aa61',
    500: '#6a8819',
    950: '#000000',
  },
}
SCSS
$custom: #6a8819;
$custom-light: #98aa61;
$custom-dark: #000000;
JSON
{
  "hex": "#6a8819",
  "rgb": {
    "r": 106,
    "g": 136,
    "b": 25
  },
  "hsl": {
    "h": 76.216,
    "s": 68.944,
    "l": 31.569
  },
  "oklch": {
    "l": 0.58306,
    "c": 0.13582,
    "h": 124.4
  },
  "luminance": 0.20743
}

Semantic roles & 50–950 ramp

primary
#6A8819
secondary
#6241BB
accent
#3CEC6C
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #6A8819

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

Preview Lab → · Contrast checker → · Palette generator →

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