#416218#416218

#416218 is a mid, moderate yellow-green. Relative luminance 0.099; OKLCH L 45.5% C 0.108 H 130.7°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#416218
RGBrgb(65, 98, 24)
HSLhsl(87, 61%, 24%)
HSVhsv(87, 76%, 38%)
CMYKcmyk(33.7%, 0%, 75.5%, 61.6%)
CIE-LABlab(37.71, -24.82, 36.32)
CIE-LCHlch(37.71, 43.99, 124.35°)
OKLaboklab(45.46% -0.0703 0.0818)
OKLCHoklch(45.46% 0.108 130.7)
XYZxyz(6.7125, 9.9249, 2.4260)
Luminance0.0993 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#416218 #391862
analogous
#625E18 #416218 #1C6218
triadic
#416218 #184162 #621841
tetradic
#416218 #18625E #391862 #62181C
square
#416218 #18625E #391862 #62181C
split-complementary
#416218 #181C62 #5E1862
monochromatic
#101906 #20310C #416218 #629324 #82C430

Accessibility & contrast

On white

7.04
#416218 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#416218 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #416218
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##416218#FFFFFF#000000##FFFFFF
##4162181.007.042.997.04
#FFFFFF7.041.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675A0C
Deuteranopia (green-blind)
#62581F
Tritanopia (blue-blind)
#435E53
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #416218;
/* rgb */ color: rgb(65, 98, 24);
/* oklch */ color: oklch(45.5% 0.108 130.7);
Tailwind
colors: {
  custom: {
    50: '#798f5a',
    500: '#416218',
    950: '#000000',
  },
}
SCSS
$custom: #416218;
$custom-light: #798f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#416218",
  "rgb": {
    "r": 65,
    "g": 98,
    "b": 24
  },
  "hsl": {
    "h": 86.757,
    "s": 60.656,
    "l": 23.922
  },
  "oklch": {
    "l": 0.45461,
    "c": 0.10786,
    "h": 130.7
  },
  "luminance": 0.09925
}

Semantic roles & 50–950 ramp

primary
#416218
secondary
#663E98
accent
#44E48B
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#090C04
muted
#7B7D79

Preview Lab

Preview with #416218

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

Preview Lab → · Contrast checker → · Palette generator →

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