#6A8914#6A8914

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

Color values

HEX#6A8914
RGBrgb(106, 137, 20)
HSLhsl(76, 75%, 31%)
HSVhsv(76, 85%, 54%)
CMYKcmyk(22.6%, 0%, 85.4%, 46.3%)
CIE-LABlab(52.96, -26.93, 52.82)
CIE-LCHlch(52.96, 59.29, 117.01°)
OKLaboklab(58.53% -0.0789 0.1148)
OKLCHoklch(58.53% 0.139 124.5)
XYZxyz(15.0160, 21.0058, 3.9251)
Luminance0.2101 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A8914 #331489
analogous
#896D14 #6A8914 #308914
triadic
#6A8914 #146A89 #89146A
tetradic
#6A8914 #14896D #331489 #891430
square
#6A8914 #14896D #331489 #891430
split-complementary
#6A8914 #143089 #6D1489
monochromatic
#171E04 #41540C #6A8914 #93BE1C #B4E236

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A8914#FFFFFF#000000##000000
##6A89141.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)
#917F00
Deuteranopia (green-blind)
#8D7E22
Tritanopia (blue-blind)
#708274
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6a8914;
/* rgb */ color: rgb(106, 137, 20);
/* oklch */ color: oklch(58.5% 0.139 124.5);
Tailwind
colors: {
  custom: {
    50: '#98ab5f',
    500: '#6a8914',
    950: '#000000',
  },
}
SCSS
$custom: #6a8914;
$custom-light: #98ab5f;
$custom-dark: #000000;
JSON
{
  "hex": "#6a8914",
  "rgb": {
    "r": 106,
    "g": 137,
    "b": 20
  },
  "hsl": {
    "h": 75.897,
    "s": 74.522,
    "l": 30.784
  },
  "oklch": {
    "l": 0.58534,
    "c": 0.1393,
    "h": 124.5
  },
  "luminance": 0.21006
}

Semantic roles & 50–950 ramp

primary
#6A8914
secondary
#5E3CBD
accent
#37F168
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E1005
muted
#7E7F79

Preview Lab

Preview with #6A8914

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

Preview Lab → · Contrast checker → · Palette generator →

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