#6B8618#6B8618

#6B8618 is a mid, vivid yellow-green. Relative luminance 0.202; OKLCH L 57.9% C 0.133 H 123.2°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#6B8618
RGBrgb(107, 134, 24)
HSLhsl(75, 70%, 31%)
HSVhsv(75, 82%, 53%)
CMYKcmyk(20.1%, 0%, 82.1%, 47.5%)
CIE-LABlab(52.11, -24.86, 50.98)
CIE-LCHlch(52.11, 56.72, 116.00°)
OKLaboklab(57.87% -0.0731 0.1115)
OKLCHoklch(57.87% 0.133 123.2)
XYZxyz(14.7536, 20.2419, 3.9938)
Luminance0.2024 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B8618 #331886
analogous
#866A18 #6B8618 #348618
triadic
#6B8618 #186B86 #86186B
tetradic
#6B8618 #18866A #331886 #861834
square
#6B8618 #18866A #331886 #861834
split-complementary
#6B8618 #183486 #6A1886
monochromatic
#181E05 #42520F #6B8618 #94BA21 #B5DC3C

Accessibility & contrast

On white

4.16
#6B8618 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#6B8618 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B8618
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B8618#FFFFFF#000000##000000
##6B86181.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#8B7C24
Tritanopia (blue-blind)
#717F72
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #6b8618;
/* rgb */ color: rgb(107, 134, 24);
/* oklch */ color: oklch(57.9% 0.133 123.2);
Tailwind
colors: {
  custom: {
    50: '#99a960',
    500: '#6b8618',
    950: '#000000',
  },
}
SCSS
$custom: #6b8618;
$custom-light: #99a960;
$custom-dark: #000000;
JSON
{
  "hex": "#6b8618",
  "rgb": {
    "r": 107,
    "g": 134,
    "b": 24
  },
  "hsl": {
    "h": 74.727,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.57871,
    "c": 0.13333,
    "h": 123.2
  },
  "luminance": 0.20242
}

Semantic roles & 50–950 ramp

primary
#6B8618
secondary
#5E40BA
accent
#3BEC67
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6B8618

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

Preview Lab → · Contrast checker → · Palette generator →

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