#418118#418118

#418118 is a mid, vivid yellow-green. Relative luminance 0.169; OKLCH L 54.0% C 0.149 H 136.4°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#418118
RGBrgb(65, 129, 24)
HSLhsl(97, 69%, 30%)
HSVhsv(97, 81%, 51%)
CMYKcmyk(49.6%, 0%, 81.4%, 49.4%)
CIE-LABlab(48.12, -38.82, 46.44)
CIE-LCHlch(48.12, 60.53, 129.89°)
OKLaboklab(53.99% -0.1081 0.103)
OKLCHoklch(53.99% 0.149 136.4)
XYZxyz(10.1948, 16.8896, 3.5868)
Luminance0.1689 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#418118 #581881
analogous
#768118 #418118 #188123
triadic
#418118 #184181 #811841
tetradic
#418118 #187681 #581881 #812318
square
#418118 #187681 #581881 #812318
split-complementary
#418118 #231881 #811876
monochromatic
#0D1A05 #274D0E #418118 #5BB522 #78DA39

Accessibility & contrast

On white

4.80
#418118 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#418118 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #418118
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##418118#FFFFFF#000000##FFFFFF
##4181181.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#7D7024
Tritanopia (blue-blind)
#3E7C6E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #418118;
/* rgb */ color: rgb(65, 129, 24);
/* oklch */ color: oklch(54.0% 0.149 136.4);
Tailwind
colors: {
  custom: {
    50: '#7ca65f',
    500: '#418118',
    950: '#000000',
  },
}
SCSS
$custom: #418118;
$custom-light: #7ca65f;
$custom-dark: #000000;
JSON
{
  "hex": "#418118",
  "rgb": {
    "r": 65,
    "g": 129,
    "b": 24
  },
  "hsl": {
    "h": 96.571,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.53987,
    "c": 0.14931,
    "h": 136.4
  },
  "luminance": 0.1689
}

Semantic roles & 50–950 ramp

primary
#418118
secondary
#8740B5
accent
#3CEBA7
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #418118

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

Preview Lab → · Contrast checker → · Palette generator →

#418118 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva