#6A841B#6A841B

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

Color values

HEX#6A841B
RGBrgb(106, 132, 27)
HSLhsl(75, 66%, 31%)
HSVhsv(75, 80%, 52%)
CMYKcmyk(19.7%, 0%, 79.5%, 48.2%)
CIE-LABlab(51.43, -24.16, 49.39)
CIE-LCHlch(51.43, 54.98, 116.06°)
OKLaboklab(57.31% -0.0709 0.1087)
OKLCHoklch(57.31% 0.13 123.1)
XYZxyz(14.3931, 19.6458, 4.0704)
Luminance0.1965 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A841B #351B84
analogous
#84691B #6A841B #35841B
triadic
#6A841B #1B6A84 #841B6A
tetradic
#6A841B #1B8469 #351B84 #841B35
square
#6A841B #1B8469 #351B84 #841B35
split-complementary
#6A841B #1B3584 #691B84
monochromatic
#181E06 #415111 #6A841B #93B725 #B3D841

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A841B#FFFFFF#000000##000000
##6A841B1.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)
#897A25
Tritanopia (blue-blind)
#707D70
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #6a841b;
/* rgb */ color: rgb(106, 132, 27);
/* oklch */ color: oklch(57.3% 0.130 123.1);
Tailwind
colors: {
  custom: {
    50: '#98a761',
    500: '#6a841b',
    950: '#000000',
  },
}
SCSS
$custom: #6a841b;
$custom-light: #98a761;
$custom-dark: #000000;
JSON
{
  "hex": "#6a841b",
  "rgb": {
    "r": 106,
    "g": 132,
    "b": 27
  },
  "hsl": {
    "h": 74.857,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.57312,
    "c": 0.12978,
    "h": 123.1
  },
  "luminance": 0.19646
}

Semantic roles & 50–950 ramp

primary
#6A841B
secondary
#6043B7
accent
#3FE969
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F05
muted
#7E7F7A

Preview Lab

Preview with #6A841B

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

Preview Lab → · Contrast checker → · Palette generator →

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