#418218#418218

#418218 is a mid, vivid yellow-green. Relative luminance 0.172; OKLCH L 54.3% C 0.151 H 136.5°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#418218
RGBrgb(65, 130, 24)
HSLhsl(97, 69%, 30%)
HSVhsv(97, 82%, 51%)
CMYKcmyk(50%, 0%, 81.5%, 49%)
CIE-LABlab(48.45, -39.23, 46.75)
CIE-LCHlch(48.45, 61.03, 130.00°)
OKLaboklab(54.26% -0.1092 0.1037)
OKLCHoklch(54.26% 0.151 136.5)
XYZxyz(10.3272, 17.1543, 3.6309)
Luminance0.1716 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#418218 #591882
analogous
#768218 #418218 #188224
triadic
#418218 #184182 #821841
tetradic
#418218 #187682 #591882 #822418
square
#418218 #187682 #591882 #822418
split-complementary
#418218 #241882 #821876
monochromatic
#0D1B05 #274E0E #418218 #5BB622 #78DB3A

Accessibility & contrast

On white

4.74
#418218 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#418218 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #418218
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##418218#FFFFFF#000000##FFFFFF
##4182181.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#7E7124
Tritanopia (blue-blind)
#3E7D6E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #418218;
/* rgb */ color: rgb(65, 130, 24);
/* oklch */ color: oklch(54.3% 0.151 136.5);
Tailwind
colors: {
  custom: {
    50: '#7da75f',
    500: '#418218',
    950: '#000000',
  },
}
SCSS
$custom: #418218;
$custom-light: #7da75f;
$custom-dark: #000000;
JSON
{
  "hex": "#418218",
  "rgb": {
    "r": 65,
    "g": 130,
    "b": 24
  },
  "hsl": {
    "h": 96.792,
    "s": 68.831,
    "l": 30.196
  },
  "oklch": {
    "l": 0.54261,
    "c": 0.15057,
    "h": 136.5
  },
  "luminance": 0.17155
}

Semantic roles & 50–950 ramp

primary
#418218
secondary
#8840B6
accent
#3CECA8
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #418218

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

Preview Lab → · Contrast checker → · Palette generator →

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