#6A8518#6A8518

#6A8518 is a mid, vivid yellow-green. Relative luminance 0.199; OKLCH L 57.5% C 0.133 H 123.3°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#6A8518
RGBrgb(106, 133, 24)
HSLhsl(75, 69%, 31%)
HSVhsv(75, 82%, 52%)
CMYKcmyk(20.3%, 0%, 82%, 47.8%)
CIE-LABlab(51.73, -24.79, 50.61)
CIE-LCHlch(51.73, 56.36, 116.10°)
OKLaboklab(57.55% -0.0728 0.1108)
OKLCHoklch(57.55% 0.133 123.3)
XYZxyz(14.4965, 19.9051, 3.9423)
Luminance0.1991 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A8518 #331885
analogous
#856918 #6A8518 #348518
triadic
#6A8518 #186A85 #85186A
tetradic
#6A8518 #188569 #331885 #851834
square
#6A8518 #188569 #331885 #851834
split-complementary
#6A8518 #183485 #691885
monochromatic
#171D05 #41510F #6A8518 #93B921 #B4DC3C

Accessibility & contrast

On white

4.22
#6A8518 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#6A8518 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A8518
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A8518#FFFFFF#000000##000000
##6A85181.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#8A7B23
Tritanopia (blue-blind)
#707E71
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #6a8518;
/* rgb */ color: rgb(106, 133, 24);
/* oklch */ color: oklch(57.5% 0.133 123.3);
Tailwind
colors: {
  custom: {
    50: '#98a860',
    500: '#6a8518',
    950: '#000000',
  },
}
SCSS
$custom: #6a8518;
$custom-light: #98a860;
$custom-dark: #000000;
JSON
{
  "hex": "#6a8518",
  "rgb": {
    "r": 106,
    "g": 133,
    "b": 24
  },
  "hsl": {
    "h": 74.862,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.57546,
    "c": 0.13257,
    "h": 123.3
  },
  "luminance": 0.19905
}

Semantic roles & 50–950 ramp

primary
#6A8518
secondary
#5E40B9
accent
#3CEC67
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6A8518

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

Preview Lab → · Contrast checker → · Palette generator →

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