#465312#465312

#465312 is a dark, moderate yellow-green. Relative luminance 0.075; OKLCH L 41.7% C 0.088 H 120.3°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#465312
RGBrgb(70, 83, 18)
HSLhsl(72, 64%, 20%)
HSVhsv(72, 78%, 33%)
CMYKcmyk(15.7%, 0%, 78.3%, 67.5%)
CIE-LABlab(32.99, -15.13, 34.24)
CIE-LCHlch(32.99, 37.43, 113.83°)
OKLaboklab(41.72% -0.0446 0.0763)
OKLCHoklch(41.72% 0.088 120.3)
XYZxyz(5.7283, 7.5323, 1.7243)
Luminance0.0753 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#465312 #1F1253
analogous
#534012 #465312 #265312
triadic
#465312 #124653 #531246
tetradic
#465312 #125340 #1F1253 #531226
square
#465312 #125340 #1F1253 #531226
split-complementary
#465312 #122653 #401253
monochromatic
#151905 #1C2107 #465312 #70851D #9BB828

Accessibility & contrast

On white

8.38
#465312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#465312 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #465312
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##465312#FFFFFF#000000##FFFFFF
##4653121.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E06
Deuteranopia (green-blind)
#574E18
Tritanopia (blue-blind)
#4A4E46
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #465312;
/* rgb */ color: rgb(70, 83, 18);
/* oklch */ color: oklch(41.7% 0.088 120.3);
Tailwind
colors: {
  custom: {
    50: '#7c8355',
    500: '#465312',
    950: '#000000',
  },
}
SCSS
$custom: #465312;
$custom-light: #7c8355;
$custom-dark: #000000;
JSON
{
  "hex": "#465312",
  "rgb": {
    "r": 70,
    "g": 83,
    "b": 18
  },
  "hsl": {
    "h": 72,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.41715,
    "c": 0.08837,
    "h": 120.3
  },
  "luminance": 0.07532
}

Semantic roles & 50–950 ramp

primary
#465312
secondary
#46358C
accent
#40E762
background
#F7F8F5
surface
#EEEFE9
border
#C9CAC5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #465312

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

Preview Lab → · Contrast checker → · Palette generator →

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