#418317#418317

#418317 is a mid, vivid yellow-green. Relative luminance 0.174; OKLCH L 54.5% C 0.152 H 136.5°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#418317
RGBrgb(65, 131, 23)
HSLhsl(97, 70%, 30%)
HSVhsv(97, 82%, 51%)
CMYKcmyk(50.4%, 0%, 82.4%, 48.6%)
CIE-LABlab(48.78, -39.70, 47.37)
CIE-LCHlch(48.78, 61.81, 129.96°)
OKLaboklab(54.53% -0.1105 0.1048)
OKLCHoklch(54.53% 0.152 136.5)
XYZxyz(10.4506, 17.4176, 3.6217)
Luminance0.1742 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#418317 #591783
analogous
#778317 #418317 #178323
triadic
#418317 #174183 #831741
tetradic
#418317 #177783 #591783 #832317
square
#418317 #177783 #591783 #832317
split-complementary
#418317 #231783 #831777
monochromatic
#0D1B05 #274F0E #418317 #5BB720 #78DC38

Accessibility & contrast

On white

4.68
#418317 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#418317 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #418317
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##418317#FFFFFF#000000##FFFFFF
##4183171.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#7F7224
Tritanopia (blue-blind)
#3E7E6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #418317;
/* rgb */ color: rgb(65, 131, 23);
/* oklch */ color: oklch(54.5% 0.152 136.5);
Tailwind
colors: {
  custom: {
    50: '#7da85e',
    500: '#418317',
    950: '#000000',
  },
}
SCSS
$custom: #418317;
$custom-light: #7da85e;
$custom-dark: #000000;
JSON
{
  "hex": "#418317",
  "rgb": {
    "r": 65,
    "g": 131,
    "b": 23
  },
  "hsl": {
    "h": 96.667,
    "s": 70.13,
    "l": 30.196
  },
  "oklch": {
    "l": 0.54529,
    "c": 0.1523,
    "h": 136.5
  },
  "luminance": 0.17418
}

Semantic roles & 50–950 ramp

primary
#418317
secondary
#883FB7
accent
#3BEDA8
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #418317

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

Preview Lab → · Contrast checker → · Palette generator →

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