#6A841D#6A841D

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

Color values

HEX#6A841D
RGBrgb(106, 132, 29)
HSLhsl(75, 64%, 32%)
HSVhsv(75, 78%, 52%)
CMYKcmyk(19.7%, 0%, 78%, 48.2%)
CIE-LABlab(51.45, -24.06, 48.73)
CIE-LCHlch(51.45, 54.34, 116.28°)
OKLaboklab(57.32% -0.0704 0.1077)
OKLCHoklch(57.32% 0.129 123.2)
XYZxyz(14.4171, 19.6553, 4.1965)
Luminance0.1966 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A841D #371D84
analogous
#846B1D #6A841D #37841D
triadic
#6A841D #1D6A84 #841D6A
tetradic
#6A841D #1D846B #371D84 #841D37
square
#6A841D #1D846B #371D84 #841D37
split-complementary
#6A841D #1D3784 #6B1D84
monochromatic
#192007 #425212 #6A841D #92B628 #B2D645

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A841D#FFFFFF#000000##000000
##6A841D1.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)
#8C7B04
Deuteranopia (green-blind)
#897A27
Tritanopia (blue-blind)
#707D71
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #6a841d;
/* rgb */ color: rgb(106, 132, 29);
/* oklch */ color: oklch(57.3% 0.129 123.2);
Tailwind
colors: {
  custom: {
    50: '#98a762',
    500: '#6a841d',
    950: '#000000',
  },
}
SCSS
$custom: #6a841d;
$custom-light: #98a762;
$custom-dark: #000000;
JSON
{
  "hex": "#6a841d",
  "rgb": {
    "r": 106,
    "g": 132,
    "b": 29
  },
  "hsl": {
    "h": 75.146,
    "s": 63.975,
    "l": 31.569
  },
  "oklch": {
    "l": 0.57324,
    "c": 0.12866,
    "h": 123.2
  },
  "luminance": 0.19655
}

Semantic roles & 50–950 ramp

primary
#6A841D
secondary
#6246B7
accent
#41E76B
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F05
muted
#7E7F7A

Preview Lab

Preview with #6A841D

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

Preview Lab → · Contrast checker → · Palette generator →

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