#465112#465112

#465112 is a dark, moderate yellow-green. Relative luminance 0.072; OKLCH L 41.2% C 0.086 H 119.0°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#465112
RGBrgb(70, 81, 18)
HSLhsl(70, 64%, 19%)
HSVhsv(70, 78%, 32%)
CMYKcmyk(13.6%, 0%, 77.8%, 68.2%)
CIE-LABlab(32.33, -14.00, 33.59)
CIE-LCHlch(32.33, 36.39, 112.63°)
OKLaboklab(41.18% -0.0415 0.0749)
OKLCHoklch(41.18% 0.086 119)
XYZxyz(5.5775, 7.2307, 1.6740)
Luminance0.0723 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#465112 #1D1251
analogous
#513D12 #465112 #275112
triadic
#465112 #124651 #511246
tetradic
#465112 #12513D #1D1251 #511227
square
#465112 #12513D #1D1251 #511227
split-complementary
#465112 #122751 #3D1251
monochromatic
#161906 #1B1F07 #465112 #71831D #9DB528

Accessibility & contrast

On white

8.58
#465112 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#465112 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #465112
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##465112#FFFFFF#000000##FFFFFF
##4651121.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C07
Deuteranopia (green-blind)
#554C17
Tritanopia (blue-blind)
#4B4C45
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #465112;
/* rgb */ color: rgb(70, 81, 18);
/* oklch */ color: oklch(41.2% 0.086 119.0);
Tailwind
colors: {
  custom: {
    50: '#7c8155',
    500: '#465112',
    950: '#000000',
  },
}
SCSS
$custom: #465112;
$custom-light: #7c8155;
$custom-dark: #000000;
JSON
{
  "hex": "#465112",
  "rgb": {
    "r": 70,
    "g": 81,
    "b": 18
  },
  "hsl": {
    "h": 70.476,
    "s": 63.636,
    "l": 19.412
  },
  "oklch": {
    "l": 0.41181,
    "c": 0.08564,
    "h": 119
  },
  "luminance": 0.07231
}

Semantic roles & 50–950 ramp

primary
#465112
secondary
#44358A
accent
#41E75E
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #465112

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

Preview Lab → · Contrast checker → · Palette generator →

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