#6B9017#6B9017

#6B9017 is a mid, vivid yellow-green. Relative luminance 0.231; OKLCH L 60.4% C 0.146 H 126.3°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#6B9017
RGBrgb(107, 144, 23)
HSLhsl(78, 72%, 33%)
HSVhsv(78, 84%, 56%)
CMYKcmyk(25.7%, 0%, 84%, 43.5%)
CIE-LABlab(55.21, -29.77, 54.03)
CIE-LCHlch(55.21, 61.68, 118.85°)
OKLaboklab(60.38% -0.0865 0.1178)
OKLCHoklch(60.38% 0.146 126.3)
XYZxyz(16.1914, 23.1339, 4.4227)
Luminance0.2313 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B9017 #3C1790
analogous
#907817 #6B9017 #2F9017
triadic
#6B9017 #176B90 #90176B
tetradic
#6B9017 #179078 #3C1790 #90172F
square
#6B9017 #179078 #3C1790 #90172F
split-complementary
#6B9017 #172F90 #781790
monochromatic
#1D2606 #445B0F #6B9017 #92C51F #B0E141

Accessibility & contrast

On white

3.73
#6B9017 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#6B9017 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B9017
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B9017#FFFFFF#000000##000000
##6B90171.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#988600
Deuteranopia (green-blind)
#938425
Tritanopia (blue-blind)
#70897A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #6b9017;
/* rgb */ color: rgb(107, 144, 23);
/* oklch */ color: oklch(60.4% 0.146 126.3);
Tailwind
colors: {
  custom: {
    50: '#99b061',
    500: '#6b9017',
    950: '#000000',
  },
}
SCSS
$custom: #6b9017;
$custom-light: #99b061;
$custom-dark: #000000;
JSON
{
  "hex": "#6b9017",
  "rgb": {
    "r": 107,
    "g": 144,
    "b": 23
  },
  "hsl": {
    "h": 78.347,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.60383,
    "c": 0.14615,
    "h": 126.3
  },
  "luminance": 0.23134
}

Semantic roles & 50–950 ramp

primary
#6B9017
secondary
#6942C1
accent
#39EF70
background
#F9FAF6
surface
#F2F5EB
border
#CCCFC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #6B9017

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

Preview Lab → · Contrast checker → · Palette generator →

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