#418718#418718

#418718 is a mid, vivid yellow-green. Relative luminance 0.185; OKLCH L 55.6% C 0.157 H 137.0°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#418718
RGBrgb(65, 135, 24)
HSLhsl(98, 70%, 31%)
HSVhsv(98, 82%, 53%)
CMYKcmyk(51.9%, 0%, 82.2%, 47.1%)
CIE-LABlab(50.12, -41.26, 48.31)
CIE-LCHlch(50.12, 63.53, 130.50°)
OKLaboklab(55.63% -0.1147 0.1069)
OKLCHoklch(55.63% 0.157 137)
XYZxyz(11.0085, 18.5169, 3.8580)
Luminance0.1852 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#418718 #5E1887
analogous
#788718 #418718 #188726
triadic
#418718 #184187 #871841
tetradic
#418718 #187887 #5E1887 #872618
square
#418718 #187887 #5E1887 #872618
split-complementary
#418718 #261887 #871878
monochromatic
#0F1F06 #28530F #418718 #5ABB21 #78DC3D

Accessibility & contrast

On white

4.46
#418718 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#418718 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #418718
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##418718#FFFFFF#000000##000000
##4187181.004.464.704.70
#FFFFFF4.461.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#837525
Tritanopia (blue-blind)
#3D8273
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #418718;
/* rgb */ color: rgb(65, 135, 24);
/* oklch */ color: oklch(55.6% 0.157 137.0);
Tailwind
colors: {
  custom: {
    50: '#7daa5f',
    500: '#418718',
    950: '#000000',
  },
}
SCSS
$custom: #418718;
$custom-light: #7daa5f;
$custom-dark: #000000;
JSON
{
  "hex": "#418718",
  "rgb": {
    "r": 65,
    "g": 135,
    "b": 24
  },
  "hsl": {
    "h": 97.838,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.5563,
    "c": 0.15677,
    "h": 137
  },
  "luminance": 0.18518
}

Semantic roles & 50–950 ramp

primary
#418718
secondary
#8D40BB
accent
#3BEDAB
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #418718

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

Preview Lab → · Contrast checker → · Palette generator →

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