#418117#418117

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

Color values

HEX#418117
RGBrgb(65, 129, 23)
HSLhsl(96, 70%, 30%)
HSVhsv(96, 82%, 51%)
CMYKcmyk(49.6%, 0%, 82.2%, 49.4%)
CIE-LABlab(48.12, -38.87, 46.75)
CIE-LCHlch(48.12, 60.80, 129.74°)
OKLaboklab(53.98% -0.1083 0.1035)
OKLCHoklch(53.98% 0.15 136.3)
XYZxyz(10.1846, 16.8855, 3.5330)
Luminance0.1689 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#418117 #571781
analogous
#768117 #418117 #178122
triadic
#418117 #174181 #811741
tetradic
#418117 #177681 #571781 #812217
square
#418117 #177681 #571781 #812217
split-complementary
#418117 #221781 #811776
monochromatic
#0D1A05 #274D0E #418117 #5BB520 #78DB37

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##418117#FFFFFF#000000##FFFFFF
##4181171.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)
#867500
Deuteranopia (green-blind)
#7D7023
Tritanopia (blue-blind)
#3E7C6E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #418117;
/* rgb */ color: rgb(65, 129, 23);
/* oklch */ color: oklch(54.0% 0.150 136.3);
Tailwind
colors: {
  custom: {
    50: '#7ca65e',
    500: '#418117',
    950: '#000000',
  },
}
SCSS
$custom: #418117;
$custom-light: #7ca65e;
$custom-dark: #000000;
JSON
{
  "hex": "#418117",
  "rgb": {
    "r": 65,
    "g": 129,
    "b": 23
  },
  "hsl": {
    "h": 96.226,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.53981,
    "c": 0.14981,
    "h": 136.3
  },
  "luminance": 0.16886
}

Semantic roles & 50–950 ramp

primary
#418117
secondary
#863EB5
accent
#3BEDA6
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #418117

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

Preview Lab → · Contrast checker → · Palette generator →

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