#6B7D18#6B7D18

#6B7D18 is a mid, vivid yellow-green. Relative luminance 0.179; OKLCH L 55.6% C 0.122 H 119.7°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#6B7D18
RGBrgb(107, 125, 24)
HSLhsl(71, 68%, 29%)
HSVhsv(71, 81%, 49%)
CMYKcmyk(14.4%, 0%, 80.8%, 51%)
CIE-LABlab(49.32, -20.30, 48.46)
CIE-LCHlch(49.32, 52.54, 112.73°)
OKLaboklab(55.62% -0.0606 0.1062)
OKLCHoklch(55.62% 0.122 119.7)
XYZxyz(13.5622, 17.8590, 3.5966)
Luminance0.1786 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B7D18 #2A187D
analogous
#7D5D18 #6B7D18 #397D18
triadic
#6B7D18 #186B7D #7D186B
tetradic
#6B7D18 #187D5D #2A187D #7D1839
square
#6B7D18 #187D5D #2A187D #7D1839
split-complementary
#6B7D18 #18397D #5D187D
monochromatic
#161A05 #3F4A0E #6B7D18 #97B022 #BCD937

Accessibility & contrast

On white

4.59
#6B7D18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6B7D18
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B7D18#FFFFFF#000000##FFFFFF
##6B7D181.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#837622
Tritanopia (blue-blind)
#72766A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6b7d18;
/* rgb */ color: rgb(107, 125, 24);
/* oklch */ color: oklch(55.6% 0.122 119.7);
Tailwind
colors: {
  custom: {
    50: '#99a25f',
    500: '#6b7d18',
    950: '#000000',
  },
}
SCSS
$custom: #6b7d18;
$custom-light: #99a25f;
$custom-dark: #000000;
JSON
{
  "hex": "#6b7d18",
  "rgb": {
    "r": 107,
    "g": 125,
    "b": 24
  },
  "hsl": {
    "h": 70.693,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.55623,
    "c": 0.12224,
    "h": 119.7
  },
  "luminance": 0.17859
}

Semantic roles & 50–950 ramp

primary
#6B7D18
secondary
#543FB2
accent
#3DEB5C
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0F05
muted
#7E7E79

Preview Lab

Preview with #6B7D18

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

Preview Lab → · Contrast checker → · Palette generator →

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