#6B801F#6B801F

#6B801F is a mid, vivid yellow-green. Relative luminance 0.187; OKLCH L 56.4% C 0.122 H 121.3°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#6B801F
RGBrgb(107, 128, 31)
HSLhsl(73, 61%, 31%)
HSVhsv(73, 76%, 50%)
CMYKcmyk(16.4%, 0%, 75.8%, 49.8%)
CIE-LABlab(50.29, -21.49, 46.94)
CIE-LCHlch(50.29, 51.62, 114.60°)
OKLaboklab(56.41% -0.0633 0.1042)
OKLCHoklch(56.41% 0.122 121.3)
XYZxyz(14.0301, 18.6631, 4.1593)
Luminance0.1866 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B801F #341F80
analogous
#80641F #6B801F #3A801F
triadic
#6B801F #1F6B80 #801F6B
tetradic
#6B801F #1F8064 #341F80 #801F3A
square
#6B801F #1F8064 #341F80 #801F3A
split-complementary
#6B801F #1F3A80 #641F80
monochromatic
#191D07 #424F13 #6B801F #94B12B #B4D247

Accessibility & contrast

On white

4.44
#6B801F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#6B801F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B801F
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B801F#FFFFFF#000000##000000
##6B801F1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#88780B
Deuteranopia (green-blind)
#867828
Tritanopia (blue-blind)
#71796D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #6b801f;
/* rgb */ color: rgb(107, 128, 31);
/* oklch */ color: oklch(56.4% 0.122 121.3);
Tailwind
colors: {
  custom: {
    50: '#98a462',
    500: '#6b801f',
    950: '#000000',
  },
}
SCSS
$custom: #6b801f;
$custom-light: #98a462;
$custom-dark: #000000;
JSON
{
  "hex": "#6b801f",
  "rgb": {
    "r": 107,
    "g": 128,
    "b": 31
  },
  "hsl": {
    "h": 72.99,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.56414,
    "c": 0.12192,
    "h": 121.3
  },
  "luminance": 0.18663
}

Semantic roles & 50–950 ramp

primary
#6B801F
secondary
#5F48B3
accent
#44E466
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F05
muted
#7E7F7A

Preview Lab

Preview with #6B801F

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

Preview Lab → · Contrast checker → · Palette generator →

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