#6B7D11#6B7D11

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

Color values

HEX#6B7D11
RGBrgb(107, 125, 17)
HSLhsl(70, 76%, 28%)
HSVhsv(70, 86%, 49%)
CMYKcmyk(14.4%, 0%, 86.4%, 51%)
CIE-LABlab(49.29, -20.57, 50.46)
CIE-LCHlch(49.29, 54.50, 112.18°)
OKLaboklab(55.59% -0.0619 0.1092)
OKLCHoklch(55.59% 0.126 119.5)
XYZxyz(13.4985, 17.8336, 3.2613)
Luminance0.1783 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B7D11 #23117D
analogous
#7D5911 #6B7D11 #357D11
triadic
#6B7D11 #116B7D #7D116B
tetradic
#6B7D11 #117D59 #23117D #7D1135
square
#6B7D11 #117D59 #23117D #7D1135
split-complementary
#6B7D11 #11357D #59117D
monochromatic
#171B04 #3D470A #6B7D11 #99B318 #C2E227

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B7D11#FFFFFF#000000##FFFFFF
##6B7D111.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)
#84751D
Tritanopia (blue-blind)
#72766A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6b7d11;
/* rgb */ color: rgb(107, 125, 17);
/* oklch */ color: oklch(55.6% 0.126 119.5);
Tailwind
colors: {
  custom: {
    50: '#99a25c',
    500: '#6b7d11',
    950: '#000000',
  },
}
SCSS
$custom: #6b7d11;
$custom-light: #99a25c;
$custom-dark: #000000;
JSON
{
  "hex": "#6b7d11",
  "rgb": {
    "r": 107,
    "g": 125,
    "b": 17
  },
  "hsl": {
    "h": 70,
    "s": 76.056,
    "l": 27.843
  },
  "oklch": {
    "l": 0.55588,
    "c": 0.1255,
    "h": 119.5
  },
  "luminance": 0.17834
}

Semantic roles & 50–950 ramp

primary
#6B7D11
secondary
#4B37B3
accent
#35F355
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0F04
muted
#7E7E79

Preview Lab

Preview with #6B7D11

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

Preview Lab → · Contrast checker → · Palette generator →

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