#418A15#418A15

#418A15 is a mid, vivid yellow-green. Relative luminance 0.194; OKLCH L 56.4% C 0.162 H 137.1°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#418A15
RGBrgb(65, 138, 21)
HSLhsl(97, 74%, 31%)
HSVhsv(97, 85%, 54%)
CMYKcmyk(52.9%, 0%, 84.8%, 45.9%)
CIE-LABlab(51.10, -42.61, 50.08)
CIE-LCHlch(51.10, 65.75, 130.40°)
OKLaboklab(56.43% -0.1185 0.1102)
OKLCHoklch(56.43% 0.162 137.1)
XYZxyz(11.4035, 19.3541, 3.8441)
Luminance0.1935 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#418A15 #5E158A
analogous
#7B8A15 #418A15 #158A23
triadic
#418A15 #15418A #8A1541
tetradic
#418A15 #157B8A #5E158A #8A2315
square
#418A15 #157B8A #5E158A #8A2315
split-complementary
#418A15 #23158A #8A157B
monochromatic
#0F2005 #28550D #418A15 #5ABF1D #78E139

Accessibility & contrast

On white

4.31
#418A15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#418A15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #418A15
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##418A15#FFFFFF#000000##000000
##418A151.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7D00
Deuteranopia (green-blind)
#857724
Tritanopia (blue-blind)
#3C8575
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #418a15;
/* rgb */ color: rgb(65, 138, 21);
/* oklch */ color: oklch(56.4% 0.162 137.1);
Tailwind
colors: {
  custom: {
    50: '#7ead5f',
    500: '#418a15',
    950: '#000000',
  },
}
SCSS
$custom: #418a15;
$custom-light: #7ead5f;
$custom-dark: #000000;
JSON
{
  "hex": "#418a15",
  "rgb": {
    "r": 65,
    "g": 138,
    "b": 21
  },
  "hsl": {
    "h": 97.436,
    "s": 73.585,
    "l": 31.176
  },
  "oklch": {
    "l": 0.56434,
    "c": 0.16177,
    "h": 137.1
  },
  "luminance": 0.19355
}

Semantic roles & 50–950 ramp

primary
#418A15
secondary
#8D3DBE
accent
#38F0AB
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #418A15

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

Preview Lab → · Contrast checker → · Palette generator →

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