#6A8418#6A8418

#6A8418 is a mid, vivid yellow-green. Relative luminance 0.196; OKLCH L 57.3% C 0.131 H 123.0°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#6A8418
RGBrgb(106, 132, 24)
HSLhsl(74, 69%, 31%)
HSVhsv(74, 82%, 52%)
CMYKcmyk(19.7%, 0%, 81.8%, 48.2%)
CIE-LABlab(51.42, -24.30, 50.33)
CIE-LCHlch(51.42, 55.89, 115.77°)
OKLaboklab(57.29% -0.0715 0.1102)
OKLCHoklch(57.29% 0.131 123)
XYZxyz(14.3602, 19.6326, 3.8969)
Luminance0.1963 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A8418 #321884
analogous
#846818 #6A8418 #348418
triadic
#6A8418 #186A84 #84186A
tetradic
#6A8418 #188468 #321884 #841834
square
#6A8418 #188468 #321884 #841834
split-complementary
#6A8418 #183484 #681884
monochromatic
#171C05 #40500F #6A8418 #94B821 #B5DB3B

Accessibility & contrast

On white

4.26
#6A8418 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#6A8418 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A8418
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A8418#FFFFFF#000000##000000
##6A84181.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#897A23
Tritanopia (blue-blind)
#707D70
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #6a8418;
/* rgb */ color: rgb(106, 132, 24);
/* oklch */ color: oklch(57.3% 0.131 123.0);
Tailwind
colors: {
  custom: {
    50: '#98a760',
    500: '#6a8418',
    950: '#000000',
  },
}
SCSS
$custom: #6a8418;
$custom-light: #98a760;
$custom-dark: #000000;
JSON
{
  "hex": "#6a8418",
  "rgb": {
    "r": 106,
    "g": 132,
    "b": 24
  },
  "hsl": {
    "h": 74.444,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.57295,
    "c": 0.13134,
    "h": 123
  },
  "luminance": 0.19633
}

Semantic roles & 50–950 ramp

primary
#6A8418
secondary
#5D40B8
accent
#3CEC66
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6A8418

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

Preview Lab → · Contrast checker → · Palette generator →

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