#465212#465212

#465212 is a dark, moderate yellow-green. Relative luminance 0.074; OKLCH L 41.4% C 0.087 H 119.7°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#465212
RGBrgb(70, 82, 18)
HSLhsl(71, 64%, 20%)
HSVhsv(71, 78%, 32%)
CMYKcmyk(14.6%, 0%, 78%, 67.8%)
CIE-LABlab(32.66, -14.57, 33.92)
CIE-LCHlch(32.66, 36.91, 113.24°)
OKLaboklab(41.45% -0.0431 0.0756)
OKLCHoklch(41.45% 0.087 119.7)
XYZxyz(5.6524, 7.3804, 1.6989)
Luminance0.0738 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#465212 #1E1252
analogous
#523E12 #465212 #265212
triadic
#465212 #124652 #521246
tetradic
#465212 #12523E #1E1252 #521226
square
#465212 #12523E #1E1252 #521226
split-complementary
#465212 #122652 #3E1252
monochromatic
#151906 #1B2007 #465212 #71841D #9CB628

Accessibility & contrast

On white

8.48
#465212 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #465212
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##465212#FFFFFF#000000##FFFFFF
##4652121.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D07
Deuteranopia (green-blind)
#564D17
Tritanopia (blue-blind)
#4A4D46
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #465212;
/* rgb */ color: rgb(70, 82, 18);
/* oklch */ color: oklch(41.4% 0.087 119.7);
Tailwind
colors: {
  custom: {
    50: '#7c8255',
    500: '#465212',
    950: '#000000',
  },
}
SCSS
$custom: #465212;
$custom-light: #7c8255;
$custom-dark: #000000;
JSON
{
  "hex": "#465212",
  "rgb": {
    "r": 70,
    "g": 82,
    "b": 18
  },
  "hsl": {
    "h": 71.25,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.41448,
    "c": 0.08701,
    "h": 119.7
  },
  "luminance": 0.0738
}

Semantic roles & 50–950 ramp

primary
#465212
secondary
#45358B
accent
#41E760
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #465212

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

Preview Lab → · Contrast checker → · Palette generator →

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