#418C1A#418C1A

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

Color values

HEX#418C1A
RGBrgb(65, 140, 26)
HSLhsl(99, 69%, 33%)
HSVhsv(99, 81%, 55%)
CMYKcmyk(53.6%, 0%, 81.4%, 45.1%)
CIE-LABlab(51.78, -43.14, 49.24)
CIE-LCHlch(51.78, 65.47, 131.22°)
OKLaboklab(57.01% -0.1196 0.1092)
OKLCHoklch(57.01% 0.162 137.6)
XYZxyz(11.7441, 19.9537, 4.2097)
Luminance0.1996 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#418C1A #651A8C
analogous
#7A8C1A #418C1A #1A8C2C
triadic
#418C1A #1A418C #8C1A41
tetradic
#418C1A #1A7A8C #651A8C #8C2C1A
square
#418C1A #1A7A8C #651A8C #8C2C1A
split-complementary
#418C1A #2C1A8C #8C1A7A
monochromatic
#112507 #295810 #418C1A #59C024 #78DC44

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##418C1A#FFFFFF#000000##000000
##418C1A1.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)
#877927
Tritanopia (blue-blind)
#3B8777
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #418c1a;
/* rgb */ color: rgb(65, 140, 26);
/* oklch */ color: oklch(57.0% 0.162 137.6);
Tailwind
colors: {
  custom: {
    50: '#7eae61',
    500: '#418c1a',
    950: '#000000',
  },
}
SCSS
$custom: #418c1a;
$custom-light: #7eae61;
$custom-dark: #000000;
JSON
{
  "hex": "#418c1a",
  "rgb": {
    "r": 65,
    "g": 140,
    "b": 26
  },
  "hsl": {
    "h": 99.474,
    "s": 68.675,
    "l": 32.549
  },
  "oklch": {
    "l": 0.57007,
    "c": 0.16193,
    "h": 137.6
  },
  "luminance": 0.19955
}

Semantic roles & 50–950 ramp

primary
#418C1A
secondary
#9444BE
accent
#3CECB0
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #418C1A

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

Preview Lab → · Contrast checker → · Palette generator →

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