#465218#465218

#465218 is a dark, moderate yellow-green. Relative luminance 0.074; OKLCH L 41.5% C 0.082 H 120.1°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#465218
RGBrgb(70, 82, 24)
HSLhsl(72, 55%, 21%)
HSVhsv(72, 71%, 32%)
CMYKcmyk(14.6%, 0%, 70.7%, 67.8%)
CIE-LABlab(32.71, -14.14, 31.28)
CIE-LCHlch(32.71, 34.32, 114.33°)
OKLaboklab(41.5% -0.0413 0.0711)
OKLCHoklch(41.5% 0.082 120.1)
XYZxyz(5.7080, 7.4026, 1.9921)
Luminance0.0740 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#465218 #241852
analogous
#524118 #465218 #295218
triadic
#465218 #184652 #521846
tetradic
#465218 #185241 #241852 #521829
square
#465218 #185241 #241852 #521829
split-complementary
#465218 #182952 #411852
monochromatic
#141807 #1E230A #465218 #6E8126 #97B134

Accessibility & contrast

On white

8.47
#465218 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#465218 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #465218
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##465218#FFFFFF#000000##FFFFFF
##4652181.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D10
Deuteranopia (green-blind)
#564D1C
Tritanopia (blue-blind)
#4A4D46
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #465218;
/* rgb */ color: rgb(70, 82, 24);
/* oklch */ color: oklch(41.5% 0.082 120.1);
Tailwind
colors: {
  custom: {
    50: '#7b8258',
    500: '#465218',
    950: '#000000',
  },
}
SCSS
$custom: #465218;
$custom-light: #7b8258;
$custom-dark: #000000;
JSON
{
  "hex": "#465218",
  "rgb": {
    "r": 70,
    "g": 82,
    "b": 24
  },
  "hsl": {
    "h": 72.414,
    "s": 54.717,
    "l": 20.784
  },
  "oklch": {
    "l": 0.41503,
    "c": 0.0822,
    "h": 120.1
  },
  "luminance": 0.07403
}

Semantic roles & 50–950 ramp

primary
#465218
secondary
#4D3D89
accent
#4ADE68
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #465218

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

Preview Lab → · Contrast checker → · Palette generator →

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