#6A8718#6A8718

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

Color values

HEX#6A8718
RGBrgb(106, 135, 24)
HSLhsl(76, 70%, 31%)
HSVhsv(76, 82%, 53%)
CMYKcmyk(21.5%, 0%, 82.2%, 47.1%)
CIE-LABlab(52.35, -25.79, 51.17)
CIE-LCHlch(52.35, 57.30, 116.74°)
OKLaboklab(58.05% -0.0755 0.112)
OKLCHoklch(58.05% 0.135 124)
XYZxyz(14.7729, 20.4579, 4.0345)
Luminance0.2046 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A8718 #351887
analogous
#876C18 #6A8718 #328718
triadic
#6A8718 #186A87 #87186A
tetradic
#6A8718 #18876C #351887 #871832
square
#6A8718 #18876C #351887 #871832
split-complementary
#6A8718 #183287 #6C1887
monochromatic
#181F06 #41530F #6A8718 #93BB21 #B3DC3D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A8718#FFFFFF#000000##000000
##6A87181.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)
#8B7D24
Tritanopia (blue-blind)
#708073
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #6a8718;
/* rgb */ color: rgb(106, 135, 24);
/* oklch */ color: oklch(58.0% 0.135 124.0);
Tailwind
colors: {
  custom: {
    50: '#98aa60',
    500: '#6a8718',
    950: '#000000',
  },
}
SCSS
$custom: #6a8718;
$custom-light: #98aa60;
$custom-dark: #000000;
JSON
{
  "hex": "#6a8718",
  "rgb": {
    "r": 106,
    "g": 135,
    "b": 24
  },
  "hsl": {
    "h": 75.676,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.58049,
    "c": 0.13506,
    "h": 124
  },
  "luminance": 0.20458
}

Semantic roles & 50–950 ramp

primary
#6A8718
secondary
#6040BB
accent
#3BED6A
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #6A8718

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

Preview Lab → · Contrast checker → · Palette generator →

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