#465818#465818

#465818 is a dark, moderate yellow-green. Relative luminance 0.083; OKLCH L 43.1% C 0.091 H 123.8°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#465818
RGBrgb(70, 88, 24)
HSLhsl(77, 57%, 22%)
HSVhsv(77, 73%, 35%)
CMYKcmyk(20.5%, 0%, 72.7%, 65.5%)
CIE-LABlab(34.70, -17.46, 33.35)
CIE-LCHlch(34.70, 37.64, 117.63°)
OKLaboklab(43.11% -0.0504 0.0755)
OKLCHoklch(43.11% 0.091 123.8)
XYZxyz(6.1804, 8.3474, 2.1496)
Luminance0.0835 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#465818 #2A1858
analogous
#584A18 #465818 #265818
triadic
#465818 #184658 #581846
tetradic
#465818 #18584A #2A1858 #581826
square
#465818 #18584A #2A1858 #581826
split-complementary
#465818 #182658 #4A1858
monochromatic
#131807 #20280B #465818 #6C8825 #93B832

Accessibility & contrast

On white

7.87
#465818 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#465818 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #465818
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##465818#FFFFFF#000000##FFFFFF
##4658181.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D520F
Deuteranopia (green-blind)
#5B511D
Tritanopia (blue-blind)
#4A534B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #465818;
/* rgb */ color: rgb(70, 88, 24);
/* oklch */ color: oklch(43.1% 0.091 123.8);
Tailwind
colors: {
  custom: {
    50: '#7c8759',
    500: '#465818',
    950: '#000000',
  },
}
SCSS
$custom: #465818;
$custom-light: #7c8759;
$custom-dark: #000000;
JSON
{
  "hex": "#465818",
  "rgb": {
    "r": 70,
    "g": 88,
    "b": 24
  },
  "hsl": {
    "h": 76.875,
    "s": 57.143,
    "l": 21.961
  },
  "oklch": {
    "l": 0.43107,
    "c": 0.09078,
    "h": 123.8
  },
  "luminance": 0.08347
}

Semantic roles & 50–950 ramp

primary
#465818
secondary
#543D8F
accent
#47E072
background
#F7F8F5
surface
#EEEFE9
border
#C9CAC5
text
#0A0B04
muted
#7C7C79

Preview Lab

Preview with #465818

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

Preview Lab → · Contrast checker → · Palette generator →

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