#6A861B#6A861B

#6A861B is a mid, vivid yellow-green. Relative luminance 0.202; OKLCH L 57.8% C 0.132 H 123.8°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#6A861B
RGBrgb(106, 134, 27)
HSLhsl(76, 66%, 32%)
HSVhsv(76, 80%, 53%)
CMYKcmyk(20.9%, 0%, 79.9%, 47.5%)
CIE-LABlab(52.06, -25.15, 49.97)
CIE-LCHlch(52.06, 55.94, 116.72°)
OKLaboklab(57.81% -0.0736 0.1099)
OKLCHoklch(57.81% 0.132 123.8)
XYZxyz(14.6670, 20.1934, 4.1617)
Luminance0.2019 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A861B #371B86
analogous
#866D1B #6A861B #35861B
triadic
#6A861B #1B6A86 #861B6A
tetradic
#6A861B #1B866D #371B86 #861B35
square
#6A861B #1B866D #371B86 #861B35
split-complementary
#6A861B #1B3586 #6D1B86
monochromatic
#192006 #425311 #6A861B #92B925 #B2D942

Accessibility & contrast

On white

4.17
#6A861B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#6A861B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A861B
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A861B#FFFFFF#000000##000000
##6A861B1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#8A7C26
Tritanopia (blue-blind)
#707F72
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #6a861b;
/* rgb */ color: rgb(106, 134, 27);
/* oklch */ color: oklch(57.8% 0.132 123.8);
Tailwind
colors: {
  custom: {
    50: '#98a961',
    500: '#6a861b',
    950: '#000000',
  },
}
SCSS
$custom: #6a861b;
$custom-light: #98a961;
$custom-dark: #000000;
JSON
{
  "hex": "#6a861b",
  "rgb": {
    "r": 106,
    "g": 134,
    "b": 27
  },
  "hsl": {
    "h": 75.701,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.57814,
    "c": 0.13229,
    "h": 123.8
  },
  "luminance": 0.20193
}

Semantic roles & 50–950 ramp

primary
#6A861B
secondary
#6244B9
accent
#3EE96B
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F05
muted
#7E7F7A

Preview Lab

Preview with #6A861B

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

Preview Lab → · Contrast checker → · Palette generator →

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