#6D811B#6D811B

#6D811B is a mid, vivid yellow-green. Relative luminance 0.190; OKLCH L 56.8% C 0.125 H 120.5°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#6D811B
RGBrgb(109, 129, 27)
HSLhsl(72, 65%, 31%)
HSVhsv(72, 79%, 51%)
CMYKcmyk(15.5%, 0%, 79.1%, 49.4%)
CIE-LABlab(50.72, -21.33, 48.81)
CIE-LCHlch(50.72, 53.27, 113.60°)
OKLaboklab(56.79% -0.0633 0.1074)
OKLCHoklch(56.79% 0.125 120.5)
XYZxyz(14.3550, 19.0309, 3.9538)
Luminance0.1903 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D811B #2F1B81
analogous
#81621B #6D811B #3A811B
triadic
#6D811B #1B6D81 #811B6D
tetradic
#6D811B #1B8162 #2F1B81 #811B3A
square
#6D811B #1B8162 #2F1B81 #811B3A
split-complementary
#6D811B #1B3A81 #621B81
monochromatic
#171C06 #424E10 #6D811B #98B426 #B9D73F

Accessibility & contrast

On white

4.37
#6D811B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#6D811B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6D811B
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D811B#FFFFFF#000000##000000
##6D811B1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#897901
Deuteranopia (green-blind)
#877925
Tritanopia (blue-blind)
#747A6E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #6d811b;
/* rgb */ color: rgb(109, 129, 27);
/* oklch */ color: oklch(56.8% 0.125 120.5);
Tailwind
colors: {
  custom: {
    50: '#9aa561',
    500: '#6d811b',
    950: '#000000',
  },
}
SCSS
$custom: #6d811b;
$custom-light: #9aa561;
$custom-dark: #000000;
JSON
{
  "hex": "#6d811b",
  "rgb": {
    "r": 109,
    "g": 129,
    "b": 27
  },
  "hsl": {
    "h": 71.765,
    "s": 65.385,
    "l": 30.588
  },
  "oklch": {
    "l": 0.56793,
    "c": 0.12467,
    "h": 120.5
  },
  "luminance": 0.19031
}

Semantic roles & 50–950 ramp

primary
#6D811B
secondary
#5943B5
accent
#3FE861
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F05
muted
#7E7F7A

Preview Lab

Preview with #6D811B

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

Preview Lab → · Contrast checker → · Palette generator →

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