#6B7F11#6B7F11

#6B7F11 is a mid, vivid yellow-green. Relative luminance 0.183; OKLCH L 56.1% C 0.128 H 120.4°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#6B7F11
RGBrgb(107, 127, 17)
HSLhsl(71, 76%, 28%)
HSVhsv(71, 87%, 50%)
CMYKcmyk(15.7%, 0%, 86.6%, 50.2%)
CIE-LABlab(49.91, -21.60, 50.99)
CIE-LCHlch(49.91, 55.38, 112.96°)
OKLaboklab(56.09% -0.0647 0.1103)
OKLCHoklch(56.09% 0.128 120.4)
XYZxyz(13.7542, 18.3451, 3.3466)
Luminance0.1835 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B7F11 #25117F
analogous
#7F5C11 #6B7F11 #347F11
triadic
#6B7F11 #116B7F #7F116B
tetradic
#6B7F11 #117F5C #25117F #7F1134
square
#6B7F11 #117F5C #25117F #7F1134
split-complementary
#6B7F11 #11347F #5C117F
monochromatic
#171B04 #3E490A #6B7F11 #98B518 #C0E228

Accessibility & contrast

On white

4.50
#6B7F11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#6B7F11 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B7F11
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B7F11#FFFFFF#000000##000000
##6B7F111.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#85771E
Tritanopia (blue-blind)
#72786C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #6b7f11;
/* rgb */ color: rgb(107, 127, 17);
/* oklch */ color: oklch(56.1% 0.128 120.4);
Tailwind
colors: {
  custom: {
    50: '#99a45c',
    500: '#6b7f11',
    950: '#000000',
  },
}
SCSS
$custom: #6b7f11;
$custom-light: #99a45c;
$custom-dark: #000000;
JSON
{
  "hex": "#6b7f11",
  "rgb": {
    "r": 107,
    "g": 127,
    "b": 17
  },
  "hsl": {
    "h": 70.909,
    "s": 76.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.56086,
    "c": 0.12789,
    "h": 120.4
  },
  "luminance": 0.18345
}

Semantic roles & 50–950 ramp

primary
#6B7F11
secondary
#4E37B5
accent
#35F357
background
#F9FAF5
surface
#F2F4E9
border
#CCCEC5
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6B7F11

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

Preview Lab → · Contrast checker → · Palette generator →

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