#465D12#465D12

#465D12 is a dark, moderate yellow-green. Relative luminance 0.092; OKLCH L 44.4% C 0.102 H 125.6°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#465D12
RGBrgb(70, 93, 18)
HSLhsl(78, 68%, 22%)
HSVhsv(78, 81%, 36%)
CMYKcmyk(24.7%, 0%, 80.6%, 63.5%)
CIE-LABlab(36.32, -20.52, 37.45)
CIE-LCHlch(36.32, 42.71, 118.72°)
OKLaboklab(44.41% -0.0594 0.083)
OKLCHoklch(44.41% 0.102 125.6)
XYZxyz(6.5494, 9.1744, 1.9979)
Luminance0.0917 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#465D12 #29125D
analogous
#5D4F12 #465D12 #215D12
triadic
#465D12 #12465D #5D1246
tetradic
#465D12 #125D4F #29125D #5D1221
square
#465D12 #125D4F #29125D #5D1221
split-complementary
#465D12 #12215D #4F125D
monochromatic
#131A05 #1F2A08 #465D12 #6D901C #93C426

Accessibility & contrast

On white

7.41
#465D12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#465D12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #465D12
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##465D12#FFFFFF#000000##FFFFFF
##465D121.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625603
Deuteranopia (green-blind)
#5F5519
Tritanopia (blue-blind)
#49584F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #465d12;
/* rgb */ color: rgb(70, 93, 18);
/* oklch */ color: oklch(44.4% 0.102 125.6);
Tailwind
colors: {
  custom: {
    50: '#7c8b56',
    500: '#465d12',
    950: '#000000',
  },
}
SCSS
$custom: #465d12;
$custom-light: #7c8b56;
$custom-dark: #000000;
JSON
{
  "hex": "#465d12",
  "rgb": {
    "r": 70,
    "g": 93,
    "b": 18
  },
  "hsl": {
    "h": 78.4,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.44406,
    "c": 0.10211,
    "h": 125.6
  },
  "luminance": 0.09174
}

Semantic roles & 50–950 ramp

primary
#465D12
secondary
#533595
accent
#3DEA72
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0C03
muted
#7C7D78

Preview Lab

Preview with #465D12

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

Preview Lab → · Contrast checker → · Palette generator →

#465D12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva