#465816#465816

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

Color values

HEX#465816
RGBrgb(70, 88, 22)
HSLhsl(76, 60%, 22%)
HSVhsv(76, 75%, 35%)
CMYKcmyk(20.5%, 0%, 75%, 65.5%)
CIE-LABlab(34.68, -17.60, 34.23)
CIE-LCHlch(34.68, 38.49, 117.22°)
OKLaboklab(43.09% -0.0511 0.077)
OKLCHoklch(43.09% 0.092 123.6)
XYZxyz(6.1604, 8.3394, 2.0440)
Luminance0.0834 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#465816 #281658
analogous
#584916 #465816 #255816
triadic
#465816 #164658 #581646
tetradic
#465816 #165849 #281658 #581625
square
#465816 #165849 #281658 #581625
split-complementary
#465816 #162558 #491658
monochromatic
#131806 #1F270A #465816 #6D8922 #94BA2E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##465816#FFFFFF#000000##FFFFFF
##4658161.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)
#5D520B
Deuteranopia (green-blind)
#5B511B
Tritanopia (blue-blind)
#4A534B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #465816;
/* rgb */ color: rgb(70, 88, 22);
/* oklch */ color: oklch(43.1% 0.092 123.6);
Tailwind
colors: {
  custom: {
    50: '#7c8758',
    500: '#465816',
    950: '#000000',
  },
}
SCSS
$custom: #465816;
$custom-light: #7c8758;
$custom-dark: #000000;
JSON
{
  "hex": "#465816",
  "rgb": {
    "r": 70,
    "g": 88,
    "b": 22
  },
  "hsl": {
    "h": 76.364,
    "s": 60,
    "l": 21.569
  },
  "oklch": {
    "l": 0.43089,
    "c": 0.09236,
    "h": 123.6
  },
  "luminance": 0.08339
}

Semantic roles & 50–950 ramp

primary
#465816
secondary
#523B8F
accent
#45E370
background
#F7F8F5
surface
#EEEFE9
border
#C9CAC5
text
#0A0B03
muted
#7C7C78

Preview Lab

Preview with #465816

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

Preview Lab → · Contrast checker → · Palette generator →

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