#6B9518#6B9518

#6B9518 is a mid, vivid yellow-green. Relative luminance 0.247; OKLCH L 61.7% C 0.152 H 127.6°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#6B9518
RGBrgb(107, 149, 24)
HSLhsl(80, 72%, 34%)
HSVhsv(80, 84%, 58%)
CMYKcmyk(28.2%, 0%, 83.9%, 41.6%)
CIE-LABlab(56.77, -32.08, 55.13)
CIE-LCHlch(56.77, 63.79, 120.19°)
OKLaboklab(61.65% -0.0927 0.1204)
OKLCHoklch(61.65% 0.152 127.6)
XYZxyz(16.9758, 24.6863, 4.7345)
Luminance0.2469 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B9518 #421895
analogous
#958118 #6B9518 #2D9518
triadic
#6B9518 #186B95 #95186B
tetradic
#6B9518 #189581 #421895 #95182D
square
#6B9518 #189581 #421895 #95182D
split-complementary
#6B9518 #182D95 #811895
monochromatic
#1F2C07 #456010 #6B9518 #91CA20 #ADE146

Accessibility & contrast

On white

3.54
#6B9518 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#6B9518 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B9518
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B9518#FFFFFF#000000##000000
##6B95181.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A00
Deuteranopia (green-blind)
#978727
Tritanopia (blue-blind)
#6F8E7F
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #6b9518;
/* rgb */ color: rgb(107, 149, 24);
/* oklch */ color: oklch(61.7% 0.152 127.6);
Tailwind
colors: {
  custom: {
    50: '#9ab462',
    500: '#6b9518',
    950: '#000000',
  },
}
SCSS
$custom: #6b9518;
$custom-light: #9ab462;
$custom-dark: #000000;
JSON
{
  "hex": "#6b9518",
  "rgb": {
    "r": 107,
    "g": 149,
    "b": 24
  },
  "hsl": {
    "h": 80.16,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.6165,
    "c": 0.15189,
    "h": 127.6
  },
  "luminance": 0.24687
}

Semantic roles & 50–950 ramp

primary
#6B9518
secondary
#7046C2
accent
#39EF76
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1106
muted
#7E807A

Preview Lab

Preview with #6B9518

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

Preview Lab → · Contrast checker → · Palette generator →

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