#6B9018#6B9018

#6B9018 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#6B9018
RGBrgb(107, 144, 24)
HSLhsl(79, 71%, 33%)
HSVhsv(79, 83%, 56%)
CMYKcmyk(25.7%, 0%, 83.3%, 43.5%)
CIE-LABlab(55.21, -29.73, 53.76)
CIE-LCHlch(55.21, 61.43, 118.94°)
OKLaboklab(60.39% -0.0863 0.1174)
OKLCHoklch(60.39% 0.146 126.3)
XYZxyz(16.2016, 23.1380, 4.4765)
Luminance0.2314 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B9018 #3D1890
analogous
#907918 #6B9018 #2F9018
triadic
#6B9018 #186B90 #90186B
tetradic
#6B9018 #189079 #3D1890 #90182F
square
#6B9018 #189079 #3D1890 #90182F
split-complementary
#6B9018 #182F90 #791890
monochromatic
#1D2707 #445C0F #6B9018 #92C421 #AFE043

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B9018#FFFFFF#000000##000000
##6B90181.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)
#938426
Tritanopia (blue-blind)
#70897A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #6b9018;
/* rgb */ color: rgb(107, 144, 24);
/* oklch */ color: oklch(60.4% 0.146 126.3);
Tailwind
colors: {
  custom: {
    50: '#99b061',
    500: '#6b9018',
    950: '#000000',
  },
}
SCSS
$custom: #6b9018;
$custom-light: #99b061;
$custom-dark: #000000;
JSON
{
  "hex": "#6b9018",
  "rgb": {
    "r": 107,
    "g": 144,
    "b": 24
  },
  "hsl": {
    "h": 78.5,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.60387,
    "c": 0.14572,
    "h": 126.3
  },
  "luminance": 0.23138
}

Semantic roles & 50–950 ramp

primary
#6B9018
secondary
#6A43C0
accent
#3AEE71
background
#F9FAF6
surface
#F2F5EB
border
#CCCFC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6B9018

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

Preview Lab → · Contrast checker → · Palette generator →

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