#418A1B#418A1B

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

Color values

HEX#418A1B
RGBrgb(65, 138, 27)
HSLhsl(99, 67%, 32%)
HSVhsv(99, 80%, 54%)
CMYKcmyk(52.9%, 0%, 80.4%, 45.9%)
CIE-LABlab(51.13, -42.29, 48.31)
CIE-LCHlch(51.13, 64.20, 131.20°)
OKLaboklab(56.47% -0.1172 0.1074)
OKLCHoklch(56.47% 0.159 137.5)
XYZxyz(11.4659, 19.3791, 4.1730)
Luminance0.1938 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#418A1B #641B8A
analogous
#798A1B #418A1B #1B8A2C
triadic
#418A1B #1B418A #8A1B41
tetradic
#418A1B #1B798A #641B8A #8A2C1B
square
#418A1B #1B798A #641B8A #8A2C1B
split-complementary
#418A1B #2C1B8A #8A1B79
monochromatic
#112407 #295711 #418A1B #59BD25 #78DB45

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##418A1B#FFFFFF#000000##000000
##418A1B1.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: #418a1b;
/* rgb */ color: rgb(65, 138, 27);
/* oklch */ color: oklch(56.5% 0.159 137.5);
Tailwind
colors: {
  custom: {
    50: '#7ead61',
    500: '#418a1b',
    950: '#000000',
  },
}
SCSS
$custom: #418a1b;
$custom-light: #7ead61;
$custom-dark: #000000;
JSON
{
  "hex": "#418a1b",
  "rgb": {
    "r": 65,
    "g": 138,
    "b": 27
  },
  "hsl": {
    "h": 99.459,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56467,
    "c": 0.15898,
    "h": 137.5
  },
  "luminance": 0.1938
}

Semantic roles & 50–950 ramp

primary
#418A1B
secondary
#9345BC
accent
#3EEAAF
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #418A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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