#418318#418318

#418318 is a mid, vivid yellow-green. Relative luminance 0.174; OKLCH L 54.5% C 0.152 H 136.6°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#418318
RGBrgb(65, 131, 24)
HSLhsl(97, 69%, 30%)
HSVhsv(97, 82%, 51%)
CMYKcmyk(50.4%, 0%, 81.7%, 48.6%)
CIE-LABlab(48.79, -39.64, 47.06)
CIE-LCHlch(48.79, 61.53, 130.11°)
OKLaboklab(54.54% -0.1103 0.1043)
OKLCHoklch(54.54% 0.152 136.6)
XYZxyz(10.4608, 17.4216, 3.6755)
Luminance0.1742 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#418318 #5A1883
analogous
#768318 #418318 #188324
triadic
#418318 #184183 #831841
tetradic
#418318 #187683 #5A1883 #832418
square
#418318 #187683 #5A1883 #832418
split-complementary
#418318 #241883 #831876
monochromatic
#0E1C05 #274F0F #418318 #5BB721 #78DB3A

Accessibility & contrast

On white

4.68
#418318 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#418318 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #418318
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##418318#FFFFFF#000000##FFFFFF
##4183181.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#7F7224
Tritanopia (blue-blind)
#3D7E6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #418318;
/* rgb */ color: rgb(65, 131, 24);
/* oklch */ color: oklch(54.5% 0.152 136.6);
Tailwind
colors: {
  custom: {
    50: '#7da85f',
    500: '#418318',
    950: '#000000',
  },
}
SCSS
$custom: #418318;
$custom-light: #7da85f;
$custom-dark: #000000;
JSON
{
  "hex": "#418318",
  "rgb": {
    "r": 65,
    "g": 131,
    "b": 24
  },
  "hsl": {
    "h": 97.009,
    "s": 69.032,
    "l": 30.392
  },
  "oklch": {
    "l": 0.54535,
    "c": 0.15181,
    "h": 136.6
  },
  "luminance": 0.17422
}

Semantic roles & 50–950 ramp

primary
#418318
secondary
#8940B7
accent
#3CECA8
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #418318

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

Preview Lab → · Contrast checker → · Palette generator →

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