#658218#658218

#658218 is a mid, vivid yellow-green. Relative luminance 0.188; OKLCH L 56.4% C 0.131 H 124.5°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#658218
RGBrgb(101, 130, 24)
HSLhsl(76, 69%, 30%)
HSVhsv(76, 82%, 51%)
CMYKcmyk(22.3%, 0%, 81.5%, 49%)
CIE-LABlab(50.45, -25.45, 49.32)
CIE-LCHlch(50.45, 55.50, 117.29°)
OKLaboklab(56.42% -0.0743 0.1082)
OKLCHoklch(56.42% 0.131 124.5)
XYZxyz(13.5145, 18.7978, 3.7803)
Luminance0.1880 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#658218 #351882
analogous
#826A18 #658218 #308218
triadic
#658218 #186582 #821865
tetradic
#658218 #18826A #351882 #821830
square
#658218 #18826A #351882 #821830
split-complementary
#658218 #183082 #6A1882
monochromatic
#151B05 #3D4E0E #658218 #8DB622 #AFDB3A

Accessibility & contrast

On white

4.41
#658218 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#658218 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #658218
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##658218#FFFFFF#000000##000000
##6582181.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#867823
Tritanopia (blue-blind)
#6A7B6F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #658218;
/* rgb */ color: rgb(101, 130, 24);
/* oklch */ color: oklch(56.4% 0.131 124.5);
Tailwind
colors: {
  custom: {
    50: '#94a65f',
    500: '#658218',
    950: '#000000',
  },
}
SCSS
$custom: #658218;
$custom-light: #94a65f;
$custom-dark: #000000;
JSON
{
  "hex": "#658218",
  "rgb": {
    "r": 101,
    "g": 130,
    "b": 24
  },
  "hsl": {
    "h": 76.415,
    "s": 68.831,
    "l": 30.196
  },
  "oklch": {
    "l": 0.56422,
    "c": 0.13127,
    "h": 124.5
  },
  "luminance": 0.18798
}

Semantic roles & 50–950 ramp

primary
#658218
secondary
#6040B6
accent
#3CEC6C
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #658218

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

Preview Lab → · Contrast checker → · Palette generator →

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