#6A8D19#6A8D19

#6A8D19 is a mid, vivid yellow-green. Relative luminance 0.222; OKLCH L 59.6% C 0.142 H 125.9°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#6A8D19
RGBrgb(106, 141, 25)
HSLhsl(78, 70%, 33%)
HSVhsv(78, 82%, 55%)
CMYKcmyk(24.8%, 0%, 82.3%, 44.7%)
CIE-LABlab(54.22, -28.66, 52.56)
CIE-LCHlch(54.22, 59.87, 118.61°)
OKLaboklab(59.57% -0.0833 0.1151)
OKLCHoklch(59.57% 0.142 125.9)
XYZxyz(15.6443, 22.1839, 4.3772)
Luminance0.2218 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A8D19 #3C198D
analogous
#8D7619 #6A8D19 #308D19
triadic
#6A8D19 #196A8D #8D196A
tetradic
#6A8D19 #198D76 #3C198D #8D1930
square
#6A8D19 #198D76 #3C198D #8D1930
split-complementary
#6A8D19 #19308D #76198D
monochromatic
#1C2507 #435910 #6A8D19 #91C122 #AFDE43

Accessibility & contrast

On white

3.86
#6A8D19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#6A8D19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A8D19
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A8D19#FFFFFF#000000##000000
##6A8D191.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#908126
Tritanopia (blue-blind)
#6F8678
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #6a8d19;
/* rgb */ color: rgb(106, 141, 25);
/* oklch */ color: oklch(59.6% 0.142 125.9);
Tailwind
colors: {
  custom: {
    50: '#98ae61',
    500: '#6a8d19',
    950: '#000000',
  },
}
SCSS
$custom: #6a8d19;
$custom-light: #98ae61;
$custom-dark: #000000;
JSON
{
  "hex": "#6a8d19",
  "rgb": {
    "r": 106,
    "g": 141,
    "b": 25
  },
  "hsl": {
    "h": 78.103,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.59567,
    "c": 0.14205,
    "h": 125.9
  },
  "luminance": 0.22184
}

Semantic roles & 50–950 ramp

primary
#6A8D19
secondary
#6843BF
accent
#3BED71
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #6A8D19

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

Preview Lab → · Contrast checker → · Palette generator →

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