#6B9417#6B9417

#6B9417 is a mid, vivid yellow-green. Relative luminance 0.244; OKLCH L 61.4% C 0.151 H 127.3°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#6B9417
RGBrgb(107, 148, 23)
HSLhsl(80, 73%, 34%)
HSVhsv(80, 84%, 58%)
CMYKcmyk(27.7%, 0%, 84.5%, 42%)
CIE-LABlab(56.45, -31.65, 55.12)
CIE-LCHlch(56.45, 63.56, 119.86°)
OKLaboklab(61.39% -0.0916 0.1202)
OKLCHoklch(61.39% 0.151 127.3)
XYZxyz(16.8080, 24.3671, 4.6282)
Luminance0.2437 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B9417 #401794
analogous
#947E17 #6B9417 #2C9417
triadic
#6B9417 #176B94 #94176B
tetradic
#6B9417 #17947E #401794 #94172C
square
#6B9417 #17947E #401794 #94172C
split-complementary
#6B9417 #172C94 #7E1794
monochromatic
#1E2A07 #455F0F #6B9417 #91C91F #AEE244

Accessibility & contrast

On white

3.58
#6B9417 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#6B9417 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B9417
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B9417#FFFFFF#000000##000000
##6B94171.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8900
Deuteranopia (green-blind)
#968726
Tritanopia (blue-blind)
#6F8D7E
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #6b9417;
/* rgb */ color: rgb(107, 148, 23);
/* oklch */ color: oklch(61.4% 0.151 127.3);
Tailwind
colors: {
  custom: {
    50: '#9ab362',
    500: '#6b9417',
    950: '#000000',
  },
}
SCSS
$custom: #6b9417;
$custom-light: #9ab362;
$custom-dark: #000000;
JSON
{
  "hex": "#6b9417",
  "rgb": {
    "r": 107,
    "g": 148,
    "b": 23
  },
  "hsl": {
    "h": 79.68,
    "s": 73.099,
    "l": 33.529
  },
  "oklch": {
    "l": 0.61393,
    "c": 0.15107,
    "h": 127.3
  },
  "luminance": 0.24367
}

Semantic roles & 50–950 ramp

primary
#6B9417
secondary
#6E44C3
accent
#38F074
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1106
muted
#7E807A

Preview Lab

Preview with #6B9417

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

Preview Lab → · Contrast checker → · Palette generator →

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