#418018#418018

#418018 is a mid, vivid yellow-green. Relative luminance 0.166; OKLCH L 53.7% C 0.148 H 136.3°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#418018
RGBrgb(65, 128, 24)
HSLhsl(96, 68%, 30%)
HSVhsv(96, 81%, 50%)
CMYKcmyk(49.2%, 0%, 81.3%, 49.8%)
CIE-LABlab(47.79, -38.40, 46.13)
CIE-LCHlch(47.79, 60.02, 129.78°)
OKLaboklab(53.71% -0.107 0.1023)
OKLCHoklch(53.71% 0.148 136.3)
XYZxyz(10.0637, 16.6274, 3.5431)
Luminance0.1663 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#418018 #571880
analogous
#758018 #418018 #188023
triadic
#418018 #184180 #801841
tetradic
#418018 #187580 #571880 #802318
square
#418018 #187580 #571880 #802318
split-complementary
#418018 #231880 #801875
monochromatic
#0D1A05 #274C0E #418018 #5BB422 #78DA39

Accessibility & contrast

On white

4.85
#418018 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#418018 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #418018
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##418018#FFFFFF#000000##FFFFFF
##4180181.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#7C6F24
Tritanopia (blue-blind)
#3E7B6D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #418018;
/* rgb */ color: rgb(65, 128, 24);
/* oklch */ color: oklch(53.7% 0.148 136.3);
Tailwind
colors: {
  custom: {
    50: '#7ca55e',
    500: '#418018',
    950: '#000000',
  },
}
SCSS
$custom: #418018;
$custom-light: #7ca55e;
$custom-dark: #000000;
JSON
{
  "hex": "#418018",
  "rgb": {
    "r": 65,
    "g": 128,
    "b": 24
  },
  "hsl": {
    "h": 96.346,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.53713,
    "c": 0.14805,
    "h": 136.3
  },
  "luminance": 0.16628
}

Semantic roles & 50–950 ramp

primary
#418018
secondary
#8640B4
accent
#3DEBA6
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #418018

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

Preview Lab → · Contrast checker → · Palette generator →

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