#418418#418418

#418418 is a mid, vivid yellow-green. Relative luminance 0.177; OKLCH L 54.8% C 0.153 H 136.7°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#418418
RGBrgb(65, 132, 24)
HSLhsl(97, 69%, 31%)
HSVhsv(97, 82%, 52%)
CMYKcmyk(50.8%, 0%, 81.8%, 48.2%)
CIE-LABlab(49.12, -40.05, 47.38)
CIE-LCHlch(49.12, 62.04, 130.21°)
OKLaboklab(54.81% -0.1114 0.105)
OKLCHoklch(54.81% 0.153 136.7)
XYZxyz(10.5958, 17.6916, 3.7205)
Luminance0.1769 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#418418 #5B1884
analogous
#778418 #418418 #188425
triadic
#418418 #184184 #841841
tetradic
#418418 #187784 #5B1884 #842518
square
#418418 #187784 #5B1884 #842518
split-complementary
#418418 #251884 #841877
monochromatic
#0E1C05 #27500F #418418 #5AB821 #78DB3B

Accessibility & contrast

On white

4.63
#418418 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#418418 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #418418
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##418418#FFFFFF#000000##FFFFFF
##4184181.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#807325
Tritanopia (blue-blind)
#3D7F70
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #418418;
/* rgb */ color: rgb(65, 132, 24);
/* oklch */ color: oklch(54.8% 0.153 136.7);
Tailwind
colors: {
  custom: {
    50: '#7da85f',
    500: '#418418',
    950: '#000000',
  },
}
SCSS
$custom: #418418;
$custom-light: #7da85f;
$custom-dark: #000000;
JSON
{
  "hex": "#418418",
  "rgb": {
    "r": 65,
    "g": 132,
    "b": 24
  },
  "hsl": {
    "h": 97.222,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.54809,
    "c": 0.15306,
    "h": 136.7
  },
  "luminance": 0.17692
}

Semantic roles & 50–950 ramp

primary
#418418
secondary
#8A40B8
accent
#3CECA9
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #418418

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

Preview Lab → · Contrast checker → · Palette generator →

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