#418C1B#418C1B

#418C1B is a mid, vivid yellow-green. Relative luminance 0.200; OKLCH L 57.0% C 0.161 H 137.7°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#418C1B
RGBrgb(65, 140, 27)
HSLhsl(100, 68%, 33%)
HSVhsv(100, 81%, 55%)
CMYKcmyk(53.6%, 0%, 80.7%, 45.1%)
CIE-LABlab(51.79, -43.08, 48.93)
CIE-LCHlch(51.79, 65.19, 131.36°)
OKLaboklab(57.01% -0.1194 0.1087)
OKLCHoklch(57.01% 0.161 137.7)
XYZxyz(11.7555, 19.9582, 4.2696)
Luminance0.1996 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#418C1B #661B8C
analogous
#798C1B #418C1B #1B8C2D
triadic
#418C1B #1B418C #8C1B41
tetradic
#418C1B #1B798C #661B8C #8C2D1B
square
#418C1B #1B798C #661B8C #8C2D1B
split-complementary
#418C1B #2D1B8C #8C1B79
monochromatic
#112507 #295911 #418C1B #59BF25 #78DB46

Accessibility & contrast

On white

4.21
#418C1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#418C1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #418C1B
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##418C1B#FFFFFF#000000##000000
##418C1B1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#877928
Tritanopia (blue-blind)
#3B8777
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #418c1b;
/* rgb */ color: rgb(65, 140, 27);
/* oklch */ color: oklch(57.0% 0.161 137.7);
Tailwind
colors: {
  custom: {
    50: '#7eae61',
    500: '#418c1b',
    950: '#000000',
  },
}
SCSS
$custom: #418c1b;
$custom-light: #7eae61;
$custom-dark: #000000;
JSON
{
  "hex": "#418c1b",
  "rgb": {
    "r": 65,
    "g": 140,
    "b": 27
  },
  "hsl": {
    "h": 99.823,
    "s": 67.665,
    "l": 32.745
  },
  "oklch": {
    "l": 0.57013,
    "c": 0.16143,
    "h": 137.7
  },
  "luminance": 0.19959
}

Semantic roles & 50–950 ramp

primary
#418C1B
secondary
#9546BD
accent
#3DEBB0
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #418C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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