#6B7E12#6B7E12

#6B7E12 is a mid, vivid yellow-green. Relative luminance 0.181; OKLCH L 55.8% C 0.126 H 120.0°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#6B7E12
RGBrgb(107, 126, 18)
HSLhsl(71, 75%, 28%)
HSVhsv(71, 86%, 49%)
CMYKcmyk(15.1%, 0%, 85.7%, 50.6%)
CIE-LABlab(49.61, -21.05, 50.47)
CIE-LCHlch(49.61, 54.69, 112.64°)
OKLaboklab(55.84% -0.0631 0.1094)
OKLCHoklch(55.84% 0.126 120)
XYZxyz(13.6337, 18.0912, 3.3459)
Luminance0.1809 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B7E12 #25127E
analogous
#7E5B12 #6B7E12 #357E12
triadic
#6B7E12 #126B7E #7E126B
tetradic
#6B7E12 #127E5B #25127E #7E1235
square
#6B7E12 #127E5B #25127E #7E1235
split-complementary
#6B7E12 #12357E #5B127E
monochromatic
#171B04 #3E480A #6B7E12 #98B41A #C0E12A

Accessibility & contrast

On white

4.55
#6B7E12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#6B7E12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B7E12
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B7E12#FFFFFF#000000##000000
##6B7E121.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#84761E
Tritanopia (blue-blind)
#72776B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #6b7e12;
/* rgb */ color: rgb(107, 126, 18);
/* oklch */ color: oklch(55.8% 0.126 120.0);
Tailwind
colors: {
  custom: {
    50: '#99a35c',
    500: '#6b7e12',
    950: '#000000',
  },
}
SCSS
$custom: #6b7e12;
$custom-light: #99a35c;
$custom-dark: #000000;
JSON
{
  "hex": "#6b7e12",
  "rgb": {
    "r": 107,
    "g": 126,
    "b": 18
  },
  "hsl": {
    "h": 70.556,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.55841,
    "c": 0.12628,
    "h": 120
  },
  "luminance": 0.18091
}

Semantic roles & 50–950 ramp

primary
#6B7E12
secondary
#4E38B4
accent
#36F257
background
#F9FAF5
surface
#F2F3E9
border
#CCCDC5
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6B7E12

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

Preview Lab → · Contrast checker → · Palette generator →

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