#418915#418915

#418915 is a mid, vivid yellow-green. Relative luminance 0.191; OKLCH L 56.2% C 0.161 H 137.0°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#418915
RGBrgb(65, 137, 21)
HSLhsl(97, 73%, 31%)
HSVhsv(97, 85%, 54%)
CMYKcmyk(52.6%, 0%, 84.7%, 46.3%)
CIE-LABlab(50.77, -42.22, 49.78)
CIE-LCHlch(50.77, 65.27, 130.30°)
OKLaboklab(56.16% -0.1174 0.1095)
OKLCHoklch(56.16% 0.161 137)
XYZxyz(11.2606, 19.0685, 3.7965)
Luminance0.1907 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#418915 #5D1589
analogous
#7B8915 #418915 #158923
triadic
#418915 #154189 #891541
tetradic
#418915 #157B89 #5D1589 #892315
square
#418915 #157B89 #5D1589 #892315
split-complementary
#418915 #231589 #89157B
monochromatic
#0F1F05 #28540D #418915 #5ABE1D #78E038

Accessibility & contrast

On white

4.36
#418915 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#418915 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #418915
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##418915#FFFFFF#000000##000000
##4189151.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#857724
Tritanopia (blue-blind)
#3C8474
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #418915;
/* rgb */ color: rgb(65, 137, 21);
/* oklch */ color: oklch(56.2% 0.161 137.0);
Tailwind
colors: {
  custom: {
    50: '#7eac5f',
    500: '#418915',
    950: '#000000',
  },
}
SCSS
$custom: #418915;
$custom-light: #7eac5f;
$custom-dark: #000000;
JSON
{
  "hex": "#418915",
  "rgb": {
    "r": 65,
    "g": 137,
    "b": 21
  },
  "hsl": {
    "h": 97.241,
    "s": 73.418,
    "l": 30.98
  },
  "oklch": {
    "l": 0.56161,
    "c": 0.16057,
    "h": 137
  },
  "luminance": 0.19069
}

Semantic roles & 50–950 ramp

primary
#418915
secondary
#8C3DBD
accent
#38F0AA
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #418915

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

Preview Lab → · Contrast checker → · Palette generator →

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