#418F12#418F12

#418F12 is a mid, vivid yellow-green. Relative luminance 0.208; OKLCH L 57.8% C 0.169 H 137.3°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#418F12
RGBrgb(65, 143, 18)
HSLhsl(97, 78%, 32%)
HSVhsv(97, 87%, 56%)
CMYKcmyk(54.5%, 0%, 87.4%, 43.9%)
CIE-LABlab(52.74, -44.70, 52.31)
CIE-LCHlch(52.74, 68.81, 130.51°)
OKLaboklab(57.79% -0.1242 0.1145)
OKLCHoklch(57.79% 0.169 137.3)
XYZxyz(12.1112, 20.8115, 3.9510)
Luminance0.2081 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#418F12 #60128F
analogous
#808F12 #418F12 #128F22
triadic
#418F12 #12418F #8F1241
tetradic
#418F12 #12808F #60128F #8F2212
square
#418F12 #12808F #60128F #8F2212
split-complementary
#418F12 #22128F #8F1280
monochromatic
#102204 #28590B #418F12 #5AC519 #78E636

Accessibility & contrast

On white

4.07
#418F12 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#418F12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #418F12
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##418F12#FFFFFF#000000##000000
##418F121.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#8A7C23
Tritanopia (blue-blind)
#3B8A79
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #418f12;
/* rgb */ color: rgb(65, 143, 18);
/* oklch */ color: oklch(57.8% 0.169 137.3);
Tailwind
colors: {
  custom: {
    50: '#7fb05f',
    500: '#418f12',
    950: '#000000',
  },
}
SCSS
$custom: #418f12;
$custom-light: #7fb05f;
$custom-dark: #000000;
JSON
{
  "hex": "#418f12",
  "rgb": {
    "r": 65,
    "g": 143,
    "b": 18
  },
  "hsl": {
    "h": 97.44,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.57785,
    "c": 0.16888,
    "h": 137.3
  },
  "luminance": 0.20812
}

Semantic roles & 50–950 ramp

primary
#418F12
secondary
#8F3AC3
accent
#34F4AC
background
#F8FAF5
surface
#EFF5EA
border
#CACFC6
text
#0B1105
muted
#7C8079

Preview Lab

Preview with #418F12

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

Preview Lab → · Contrast checker → · Palette generator →

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