#465512#465512

#465512 is a dark, moderate yellow-green. Relative luminance 0.078; OKLCH L 42.3% C 0.091 H 121.6°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#465512
RGBrgb(70, 85, 18)
HSLhsl(73, 65%, 20%)
HSVhsv(73, 79%, 33%)
CMYKcmyk(17.6%, 0%, 78.8%, 66.7%)
CIE-LABlab(33.65, -16.23, 34.89)
CIE-LCHlch(33.65, 38.48, 114.95°)
OKLaboklab(42.25% -0.0477 0.0776)
OKLCHoklch(42.25% 0.091 121.6)
XYZxyz(5.8836, 7.8428, 1.7760)
Luminance0.0784 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#465512 #211255
analogous
#554312 #465512 #245512
triadic
#465512 #124655 #551246
tetradic
#465512 #125543 #211255 #551224
square
#465512 #125543 #211255 #551224
split-complementary
#465512 #122455 #431255
monochromatic
#151905 #1C2207 #465512 #70881D #99BA27

Accessibility & contrast

On white

8.18
#465512 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#465512 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #465512
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##465512#FFFFFF#000000##FFFFFF
##4655121.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B4F06
Deuteranopia (green-blind)
#594F18
Tritanopia (blue-blind)
#4A5048
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #465512;
/* rgb */ color: rgb(70, 85, 18);
/* oklch */ color: oklch(42.3% 0.091 121.6);
Tailwind
colors: {
  custom: {
    50: '#7c8455',
    500: '#465512',
    950: '#000000',
  },
}
SCSS
$custom: #465512;
$custom-light: #7c8455;
$custom-dark: #000000;
JSON
{
  "hex": "#465512",
  "rgb": {
    "r": 70,
    "g": 85,
    "b": 18
  },
  "hsl": {
    "h": 73.433,
    "s": 65.049,
    "l": 20.196
  },
  "oklch": {
    "l": 0.42251,
    "c": 0.0911,
    "h": 121.6
  },
  "luminance": 0.07843
}

Semantic roles & 50–950 ramp

primary
#465512
secondary
#49358E
accent
#40E865
background
#F7F8F5
surface
#EEEFE9
border
#C9CAC5
text
#0A0B03
muted
#7C7C78

Preview Lab

Preview with #465512

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

Preview Lab → · Contrast checker → · Palette generator →

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