#418F18#418F18

#418F18 is a mid, vivid yellow-green. Relative luminance 0.208; OKLCH L 57.8% C 0.166 H 137.7°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#418F18
RGBrgb(65, 143, 24)
HSLhsl(99, 71%, 33%)
HSVhsv(99, 83%, 56%)
CMYKcmyk(54.5%, 0%, 83.2%, 43.9%)
CIE-LABlab(52.77, -44.42, 50.75)
CIE-LCHlch(52.77, 67.44, 131.19°)
OKLaboklab(57.81% -0.1231 0.112)
OKLCHoklch(57.81% 0.166 137.7)
XYZxyz(12.1669, 20.8337, 4.2441)
Luminance0.2084 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#418F18 #66188F
analogous
#7C8F18 #418F18 #188F2B
triadic
#418F18 #18418F #8F1841
tetradic
#418F18 #187C8F #66188F #8F2B18
square
#418F18 #187C8F #66188F #8F2B18
split-complementary
#418F18 #2B188F #8F187C
monochromatic
#112606 #295B0F #418F18 #59C321 #78DF42

Accessibility & contrast

On white

4.06
#418F18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#418F18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #418F18
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##418F18#FFFFFF#000000##000000
##418F181.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#8A7C27
Tritanopia (blue-blind)
#3B8A7A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #418f18;
/* rgb */ color: rgb(65, 143, 24);
/* oklch */ color: oklch(57.8% 0.166 137.7);
Tailwind
colors: {
  custom: {
    50: '#7fb061',
    500: '#418f18',
    950: '#000000',
  },
}
SCSS
$custom: #418f18;
$custom-light: #7fb061;
$custom-dark: #000000;
JSON
{
  "hex": "#418f18",
  "rgb": {
    "r": 65,
    "g": 143,
    "b": 24
  },
  "hsl": {
    "h": 99.328,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.57813,
    "c": 0.16648,
    "h": 137.7
  },
  "luminance": 0.20835
}

Semantic roles & 50–950 ramp

primary
#418F18
secondary
#9543C0
accent
#3AEEB0
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1105
muted
#7C807A

Preview Lab

Preview with #418F18

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

Preview Lab → · Contrast checker → · Palette generator →

#418F18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva