#6A8415#6A8415

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

Color values

HEX#6A8415
RGBrgb(106, 132, 21)
HSLhsl(74, 73%, 30%)
HSVhsv(74, 84%, 52%)
CMYKcmyk(19.7%, 0%, 84.1%, 48.2%)
CIE-LABlab(51.41, -24.42, 51.20)
CIE-LCHlch(51.41, 56.72, 115.50°)
OKLaboklab(57.28% -0.072 0.1115)
OKLCHoklch(57.28% 0.133 122.9)
XYZxyz(14.3307, 19.6208, 3.7415)
Luminance0.1962 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A8415 #2F1584
analogous
#846615 #6A8415 #338415
triadic
#6A8415 #156A84 #84156A
tetradic
#6A8415 #158466 #2F1584 #841533
square
#6A8415 #158466 #2F1584 #841533
split-complementary
#6A8415 #153384 #661584
monochromatic
#151A04 #404F0D #6A8415 #94B91D #B7DF35

Accessibility & contrast

On white

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

On black

4.92
#6A8415 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A8415
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A8415#FFFFFF#000000##000000
##6A84151.004.264.924.92
#FFFFFF4.261.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a8415;
/* rgb */ color: rgb(106, 132, 21);
/* oklch */ color: oklch(57.3% 0.133 122.9);
Tailwind
colors: {
  custom: {
    50: '#98a75e',
    500: '#6a8415',
    950: '#000000',
  },
}
SCSS
$custom: #6a8415;
$custom-light: #98a75e;
$custom-dark: #000000;
JSON
{
  "hex": "#6a8415",
  "rgb": {
    "r": 106,
    "g": 132,
    "b": 21
  },
  "hsl": {
    "h": 74.054,
    "s": 72.549,
    "l": 30
  },
  "oklch": {
    "l": 0.5728,
    "c": 0.13274,
    "h": 122.9
  },
  "luminance": 0.19621
}

Semantic roles & 50–950 ramp

primary
#6A8415
secondary
#593CB9
accent
#39EF63
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6A8415

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

Preview Lab → · Contrast checker → · Palette generator →

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