#6B8518#6B8518

#6B8518 is a mid, vivid yellow-green. Relative luminance 0.200; OKLCH L 57.6% C 0.132 H 122.9°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#6B8518
RGBrgb(107, 133, 24)
HSLhsl(74, 69%, 31%)
HSVhsv(74, 82%, 52%)
CMYKcmyk(19.5%, 0%, 82%, 47.8%)
CIE-LABlab(51.80, -24.36, 50.70)
CIE-LCHlch(51.80, 56.25, 115.67°)
OKLaboklab(57.62% -0.0717 0.1109)
OKLCHoklch(57.62% 0.132 122.9)
XYZxyz(14.6160, 19.9667, 3.9479)
Luminance0.1997 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B8518 #321885
analogous
#856818 #6B8518 #348518
triadic
#6B8518 #186B85 #85186B
tetradic
#6B8518 #188568 #321885 #851834
square
#6B8518 #188568 #321885 #851834
split-complementary
#6B8518 #183485 #681885
monochromatic
#181D05 #41510F #6B8518 #95B921 #B6DC3C

Accessibility & contrast

On white

4.21
#6B8518 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#6B8518 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B8518
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B8518#FFFFFF#000000##000000
##6B85181.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#8A7B23
Tritanopia (blue-blind)
#717E71
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #6b8518;
/* rgb */ color: rgb(107, 133, 24);
/* oklch */ color: oklch(57.6% 0.132 122.9);
Tailwind
colors: {
  custom: {
    50: '#99a860',
    500: '#6b8518',
    950: '#000000',
  },
}
SCSS
$custom: #6b8518;
$custom-light: #99a860;
$custom-dark: #000000;
JSON
{
  "hex": "#6b8518",
  "rgb": {
    "r": 107,
    "g": 133,
    "b": 24
  },
  "hsl": {
    "h": 74.312,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.57621,
    "c": 0.1321,
    "h": 122.9
  },
  "luminance": 0.19967
}

Semantic roles & 50–950 ramp

primary
#6B8518
secondary
#5D40B9
accent
#3CEC66
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6B8518

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

Preview Lab → · Contrast checker → · Palette generator →

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