#418A1C#418A1C

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

Color values

HEX#418A1C
RGBrgb(65, 138, 28)
HSLhsl(100, 66%, 33%)
HSVhsv(100, 80%, 54%)
CMYKcmyk(52.9%, 0%, 79.7%, 45.9%)
CIE-LABlab(51.13, -42.23, 47.98)
CIE-LCHlch(51.13, 63.92, 131.35°)
OKLaboklab(56.47% -0.117 0.1068)
OKLCHoklch(56.47% 0.158 137.6)
XYZxyz(11.4777, 19.3838, 4.2350)
Luminance0.1938 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#418A1C #651C8A
analogous
#788A1C #418A1C #1C8A2E
triadic
#418A1C #1C418A #8A1C41
tetradic
#418A1C #1C788A #651C8A #8A2E1C
square
#418A1C #1C788A #651C8A #8A2E1C
split-complementary
#418A1C #2E1C8A #8A1C78
monochromatic
#112407 #295712 #418A1C #59BD26 #78DA47

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##418A1C#FFFFFF#000000##000000
##418A1C1.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)
#857828
Tritanopia (blue-blind)
#3C8575
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #418a1c;
/* rgb */ color: rgb(65, 138, 28);
/* oklch */ color: oklch(56.5% 0.158 137.6);
Tailwind
colors: {
  custom: {
    50: '#7ead62',
    500: '#418a1c',
    950: '#000000',
  },
}
SCSS
$custom: #418a1c;
$custom-light: #7ead62;
$custom-dark: #000000;
JSON
{
  "hex": "#418a1c",
  "rgb": {
    "r": 65,
    "g": 138,
    "b": 28
  },
  "hsl": {
    "h": 99.818,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56473,
    "c": 0.15846,
    "h": 137.6
  },
  "luminance": 0.19385
}

Semantic roles & 50–950 ramp

primary
#418A1C
secondary
#9446BB
accent
#3FE9B0
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #418A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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