#6B7D12#6B7D12

#6B7D12 is a mid, vivid yellow-green. Relative luminance 0.178; OKLCH L 55.6% C 0.125 H 119.5°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#6B7D12
RGBrgb(107, 125, 18)
HSLhsl(70, 75%, 28%)
HSVhsv(70, 86%, 49%)
CMYKcmyk(14.4%, 0%, 85.6%, 51%)
CIE-LABlab(49.30, -20.54, 50.20)
CIE-LCHlch(49.30, 54.24, 112.25°)
OKLaboklab(55.59% -0.0617 0.1088)
OKLCHoklch(55.59% 0.125 119.5)
XYZxyz(13.5065, 17.8368, 3.3035)
Luminance0.1784 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B7D12 #24127D
analogous
#7D5912 #6B7D12 #367D12
triadic
#6B7D12 #126B7D #7D126B
tetradic
#6B7D12 #127D59 #24127D #7D1236
square
#6B7D12 #127D59 #24127D #7D1236
split-complementary
#6B7D12 #12367D #59127D
monochromatic
#171B04 #3D480A #6B7D12 #99B21A #C1E029

Accessibility & contrast

On white

4.60
#6B7D12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#6B7D12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6B7D12
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B7D12#FFFFFF#000000##FFFFFF
##6B7D121.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867500
Deuteranopia (green-blind)
#84751E
Tritanopia (blue-blind)
#72766A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6b7d12;
/* rgb */ color: rgb(107, 125, 18);
/* oklch */ color: oklch(55.6% 0.125 119.5);
Tailwind
colors: {
  custom: {
    50: '#99a25c',
    500: '#6b7d12',
    950: '#000000',
  },
}
SCSS
$custom: #6b7d12;
$custom-light: #99a25c;
$custom-dark: #000000;
JSON
{
  "hex": "#6b7d12",
  "rgb": {
    "r": 107,
    "g": 125,
    "b": 18
  },
  "hsl": {
    "h": 70.093,
    "s": 74.825,
    "l": 28.039
  },
  "oklch": {
    "l": 0.55592,
    "c": 0.12509,
    "h": 119.5
  },
  "luminance": 0.17837
}

Semantic roles & 50–950 ramp

primary
#6B7D12
secondary
#4D38B3
accent
#36F156
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0F05
muted
#7E7E79

Preview Lab

Preview with #6B7D12

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

Preview Lab → · Contrast checker → · Palette generator →

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