#6C7F12#6C7F12

#6C7F12 is a mid, vivid yellow-green. Relative luminance 0.184; OKLCH L 56.2% C 0.127 H 119.9°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#6C7F12
RGBrgb(108, 127, 18)
HSLhsl(70, 75%, 28%)
HSVhsv(70, 86%, 50%)
CMYKcmyk(15%, 0%, 85.8%, 50.2%)
CIE-LABlab(49.99, -21.12, 50.83)
CIE-LCHlch(49.99, 55.04, 112.56°)
OKLaboklab(56.17% -0.0633 0.1101)
OKLCHoklch(56.17% 0.127 119.9)
XYZxyz(13.8832, 18.4106, 3.3944)
Luminance0.1841 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C7F12 #25127F
analogous
#7F5B12 #6C7F12 #357F12
triadic
#6C7F12 #126C7F #7F126C
tetradic
#6C7F12 #127F5B #25127F #7F1235
square
#6C7F12 #127F5B #25127F #7F1235
split-complementary
#6C7F12 #12357F #5B127F
monochromatic
#171B04 #3E490A #6C7F12 #9AB51A #C1E12B

Accessibility & contrast

On white

4.49
#6C7F12 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#6C7F12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C7F12
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C7F12#FFFFFF#000000##000000
##6C7F121.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c7f12;
/* rgb */ color: rgb(108, 127, 18);
/* oklch */ color: oklch(56.2% 0.127 119.9);
Tailwind
colors: {
  custom: {
    50: '#9aa45d',
    500: '#6c7f12',
    950: '#000000',
  },
}
SCSS
$custom: #6c7f12;
$custom-light: #9aa45d;
$custom-dark: #000000;
JSON
{
  "hex": "#6c7f12",
  "rgb": {
    "r": 108,
    "g": 127,
    "b": 18
  },
  "hsl": {
    "h": 70.459,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.5617,
    "c": 0.12705,
    "h": 119.9
  },
  "luminance": 0.18411
}

Semantic roles & 50–950 ramp

primary
#6C7F12
secondary
#4E38B5
accent
#36F257
background
#F9FAF5
surface
#F2F4E9
border
#CCCEC5
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6C7F12

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

Preview Lab → · Contrast checker → · Palette generator →

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