#6A8918#6A8918

#6A8918 is a mid, vivid yellow-green. Relative luminance 0.210; OKLCH L 58.6% C 0.138 H 124.7°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#6A8918
RGBrgb(106, 137, 24)
HSLhsl(76, 70%, 32%)
HSVhsv(76, 82%, 54%)
CMYKcmyk(22.6%, 0%, 82.5%, 46.3%)
CIE-LABlab(52.97, -26.77, 51.73)
CIE-LCHlch(52.97, 58.24, 117.36°)
OKLaboklab(58.55% -0.0782 0.1131)
OKLCHoklch(58.55% 0.138 124.7)
XYZxyz(15.0545, 21.0213, 4.1284)
Luminance0.2102 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A8918 #371889
analogous
#897018 #6A8918 #328918
triadic
#6A8918 #186A89 #89186A
tetradic
#6A8918 #188970 #371889 #891832
square
#6A8918 #188970 #371889 #891832
split-complementary
#6A8918 #183289 #701889
monochromatic
#192106 #42550F #6A8918 #92BD21 #B2DD3E

Accessibility & contrast

On white

4.04
#6A8918 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#6A8918 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A8918
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A8918#FFFFFF#000000##000000
##6A89181.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#8D7E24
Tritanopia (blue-blind)
#6F8275
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6a8918;
/* rgb */ color: rgb(106, 137, 24);
/* oklch */ color: oklch(58.6% 0.138 124.7);
Tailwind
colors: {
  custom: {
    50: '#98ab60',
    500: '#6a8918',
    950: '#000000',
  },
}
SCSS
$custom: #6a8918;
$custom-light: #98ab60;
$custom-dark: #000000;
JSON
{
  "hex": "#6a8918",
  "rgb": {
    "r": 106,
    "g": 137,
    "b": 24
  },
  "hsl": {
    "h": 76.46,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.58553,
    "c": 0.13754,
    "h": 124.7
  },
  "luminance": 0.21021
}

Semantic roles & 50–950 ramp

primary
#6A8918
secondary
#6240BD
accent
#3BED6C
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #6A8918

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

Preview Lab → · Contrast checker → · Palette generator →

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