#658918#658918

#658918 is a mid, vivid yellow-green. Relative luminance 0.207; OKLCH L 58.2% C 0.140 H 126.6°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#658918
RGBrgb(101, 137, 24)
HSLhsl(79, 70%, 32%)
HSVhsv(79, 82%, 54%)
CMYKcmyk(26.3%, 0%, 82.5%, 46.3%)
CIE-LABlab(52.65, -28.86, 51.31)
CIE-LCHlch(52.65, 58.87, 119.36°)
OKLaboklab(58.2% -0.0836 0.1124)
OKLCHoklch(58.2% 0.14 126.6)
XYZxyz(14.4774, 20.7237, 4.1013)
Luminance0.2072 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#658918 #3C1889
analogous
#897518 #658918 #2D8918
triadic
#658918 #186589 #891865
tetradic
#658918 #188975 #3C1889 #89182D
square
#658918 #188975 #3C1889 #89182D
split-complementary
#658918 #182D89 #751889
monochromatic
#182106 #3F550F #658918 #8BBD21 #ABDD3E

Accessibility & contrast

On white

4.08
#658918 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#658918 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #658918
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##658918#FFFFFF#000000##000000
##6589181.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#8C7D24
Tritanopia (blue-blind)
#698275
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #658918;
/* rgb */ color: rgb(101, 137, 24);
/* oklch */ color: oklch(58.2% 0.140 126.6);
Tailwind
colors: {
  custom: {
    50: '#95ab60',
    500: '#658918',
    950: '#000000',
  },
}
SCSS
$custom: #658918;
$custom-light: #95ab60;
$custom-dark: #000000;
JSON
{
  "hex": "#658918",
  "rgb": {
    "r": 101,
    "g": 137,
    "b": 24
  },
  "hsl": {
    "h": 79.115,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.58202,
    "c": 0.14008,
    "h": 126.6
  },
  "luminance": 0.20724
}

Semantic roles & 50–950 ramp

primary
#658918
secondary
#6840BD
accent
#3BED74
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #658918

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

Preview Lab → · Contrast checker → · Palette generator →

#658918 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva