#418A1A#418A1A

#418A1A is a mid, vivid yellow-green. Relative luminance 0.194; OKLCH L 56.5% C 0.159 H 137.4°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#418A1A
RGBrgb(65, 138, 26)
HSLhsl(99, 68%, 32%)
HSVhsv(99, 81%, 54%)
CMYKcmyk(52.9%, 0%, 81.2%, 45.9%)
CIE-LABlab(51.12, -42.35, 48.62)
CIE-LCHlch(51.12, 64.48, 131.06°)
OKLaboklab(56.46% -0.1175 0.1079)
OKLCHoklch(56.46% 0.159 137.4)
XYZxyz(11.4545, 19.3745, 4.1131)
Luminance0.1938 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#418A1A #631A8A
analogous
#798A1A #418A1A #1A8A2B
triadic
#418A1A #1A418A #8A1A41
tetradic
#418A1A #1A798A #631A8A #8A2B1A
square
#418A1A #1A798A #631A8A #8A2B1A
split-complementary
#418A1A #2B1A8A #8A1A79
monochromatic
#102307 #295710 #418A1A #59BD24 #78DC43

Accessibility & contrast

On white

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

On black

4.88
#418A1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #418A1A
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##418A1A#FFFFFF#000000##000000
##418A1A1.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #418a1a;
/* rgb */ color: rgb(65, 138, 26);
/* oklch */ color: oklch(56.5% 0.159 137.4);
Tailwind
colors: {
  custom: {
    50: '#7ead61',
    500: '#418a1a',
    950: '#000000',
  },
}
SCSS
$custom: #418a1a;
$custom-light: #7ead61;
$custom-dark: #000000;
JSON
{
  "hex": "#418a1a",
  "rgb": {
    "r": 65,
    "g": 138,
    "b": 26
  },
  "hsl": {
    "h": 99.107,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56461,
    "c": 0.15948,
    "h": 137.4
  },
  "luminance": 0.19375
}

Semantic roles & 50–950 ramp

primary
#418A1A
secondary
#9243BD
accent
#3DEBAE
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #418A1A

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

Preview Lab → · Contrast checker → · Palette generator →

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