#465822#465822

#465822 is a dark, moderate yellow-green. Relative luminance 0.084; OKLCH L 43.2% C 0.082 H 125.1°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#465822
RGBrgb(70, 88, 34)
HSLhsl(80, 44%, 24%)
HSVhsv(80, 61%, 35%)
CMYKcmyk(20.5%, 0%, 61.4%, 65.5%)
CIE-LABlab(34.80, -16.55, 28.53)
CIE-LCHlch(34.80, 32.99, 120.12°)
OKLaboklab(43.22% -0.0469 0.0667)
OKLCHoklch(43.22% 0.082 125.1)
XYZxyz(6.3043, 8.3970, 2.8017)
Luminance0.0840 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#465822 #342258
analogous
#584F22 #465822 #2B5822
triadic
#465822 #224658 #582246
tetradic
#465822 #22584F #342258 #58222B
square
#465822 #22584F #342258 #58222B
split-complementary
#465822 #222B58 #4F2258
monochromatic
#121609 #232C11 #465822 #698433 #8CB044

Accessibility & contrast

On white

7.84
#465822 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#465822 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #465822
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##465822#FFFFFF#000000##FFFFFF
##4658221.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D521C
Deuteranopia (green-blind)
#5A5226
Tritanopia (blue-blind)
#49544C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #465822;
/* rgb */ color: rgb(70, 88, 34);
/* oklch */ color: oklch(43.2% 0.082 125.1);
Tailwind
colors: {
  custom: {
    50: '#7b875f',
    500: '#465822',
    950: '#000000',
  },
}
SCSS
$custom: #465822;
$custom-light: #7b875f;
$custom-dark: #000000;
JSON
{
  "hex": "#465822",
  "rgb": {
    "r": 70,
    "g": 88,
    "b": 34
  },
  "hsl": {
    "h": 80,
    "s": 44.262,
    "l": 23.922
  },
  "oklch": {
    "l": 0.4322,
    "c": 0.08152,
    "h": 125.1
  },
  "luminance": 0.08397
}

Semantic roles & 50–950 ramp

primary
#465822
secondary
#604A8C
accent
#54D47F
background
#F7F8F5
surface
#EEEFE9
border
#C9CAC5
text
#090B05
muted
#7B7C79

Preview Lab

Preview with #465822

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

Preview Lab → · Contrast checker → · Palette generator →

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