#465F18#465F18

#465F18 is a dark, moderate yellow-green. Relative luminance 0.096; OKLCH L 45.0% C 0.101 H 127.0°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#465F18
RGBrgb(70, 95, 24)
HSLhsl(81, 60%, 23%)
HSVhsv(81, 75%, 37%)
CMYKcmyk(26.3%, 0%, 74.7%, 62.7%)
CIE-LABlab(37.03, -21.17, 35.74)
CIE-LCHlch(37.03, 41.54, 120.64°)
OKLaboklab(44.99% -0.0607 0.0805)
OKLCHoklch(44.99% 0.101 127)
XYZxyz(6.7829, 9.5523, 2.3504)
Luminance0.0955 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#465F18 #31185F
analogous
#5F5418 #465F18 #225F18
triadic
#465F18 #18465F #5F1846
tetradic
#465F18 #185F54 #31185F #5F1822
square
#465F18 #185F54 #31185F #5F1822
split-complementary
#465F18 #18225F #54185F
monochromatic
#121806 #222E0C #465F18 #6A9024 #8EC131

Accessibility & contrast

On white

7.22
#465F18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#465F18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #465F18
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##465F18#FFFFFF#000000##FFFFFF
##465F181.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#64580D
Deuteranopia (green-blind)
#61571E
Tritanopia (blue-blind)
#495A51
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #465f18;
/* rgb */ color: rgb(70, 95, 24);
/* oklch */ color: oklch(45.0% 0.101 127.0);
Tailwind
colors: {
  custom: {
    50: '#7c8c5a',
    500: '#465f18',
    950: '#000000',
  },
}
SCSS
$custom: #465f18;
$custom-light: #7c8c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#465f18",
  "rgb": {
    "r": 70,
    "g": 95,
    "b": 24
  },
  "hsl": {
    "h": 81.127,
    "s": 59.664,
    "l": 23.333
  },
  "oklch": {
    "l": 0.44993,
    "c": 0.10078,
    "h": 127
  },
  "luminance": 0.09552
}

Semantic roles & 50–950 ramp

primary
#465F18
secondary
#5C3D95
accent
#45E37D
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0C04
muted
#7C7D79

Preview Lab

Preview with #465F18

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

Preview Lab → · Contrast checker → · Palette generator →

#465F18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva