#6B8418#6B8418

#6B8418 is a mid, vivid yellow-green. Relative luminance 0.197; OKLCH L 57.4% C 0.131 H 122.5°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#6B8418
RGBrgb(107, 132, 24)
HSLhsl(74, 69%, 31%)
HSVhsv(74, 82%, 52%)
CMYKcmyk(18.9%, 0%, 81.8%, 48.2%)
CIE-LABlab(51.49, -23.86, 50.42)
CIE-LCHlch(51.49, 55.78, 115.33°)
OKLaboklab(57.37% -0.0703 0.1103)
OKLCHoklch(57.37% 0.131 122.5)
XYZxyz(14.4798, 19.6942, 3.9025)
Luminance0.1969 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B8418 #311884
analogous
#846718 #6B8418 #358418
triadic
#6B8418 #186B84 #84186B
tetradic
#6B8418 #188467 #311884 #841835
square
#6B8418 #188467 #311884 #841835
split-complementary
#6B8418 #183584 #671884
monochromatic
#171C05 #41500F #6B8418 #95B821 #B6DB3B

Accessibility & contrast

On white

4.25
#6B8418 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#6B8418 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B8418
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B8418#FFFFFF#000000##000000
##6B84181.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#897B23
Tritanopia (blue-blind)
#717D70
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #6b8418;
/* rgb */ color: rgb(107, 132, 24);
/* oklch */ color: oklch(57.4% 0.131 122.5);
Tailwind
colors: {
  custom: {
    50: '#99a760',
    500: '#6b8418',
    950: '#000000',
  },
}
SCSS
$custom: #6b8418;
$custom-light: #99a760;
$custom-dark: #000000;
JSON
{
  "hex": "#6b8418",
  "rgb": {
    "r": 107,
    "g": 132,
    "b": 24
  },
  "hsl": {
    "h": 73.889,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.5737,
    "c": 0.13085,
    "h": 122.5
  },
  "luminance": 0.19694
}

Semantic roles & 50–950 ramp

primary
#6B8418
secondary
#5C40B8
accent
#3CEC65
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6B8418

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

Preview Lab → · Contrast checker → · Palette generator →

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