#465412#465412

#465412 is a dark, moderate yellow-green. Relative luminance 0.077; OKLCH L 42.0% C 0.090 H 121.0°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#465412
RGBrgb(70, 84, 18)
HSLhsl(73, 65%, 20%)
HSVhsv(73, 79%, 33%)
CMYKcmyk(16.7%, 0%, 78.6%, 67.1%)
CIE-LABlab(33.32, -15.68, 34.56)
CIE-LCHlch(33.32, 37.96, 114.40°)
OKLaboklab(41.98% -0.0462 0.077)
OKLCHoklch(41.98% 0.09 121)
XYZxyz(5.8054, 7.6864, 1.7499)
Luminance0.0769 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#465412 #201254
analogous
#544112 #465412 #255412
triadic
#465412 #124654 #541246
tetradic
#465412 #125441 #201254 #541225
square
#465412 #125441 #201254 #541225
split-complementary
#465412 #122554 #411254
monochromatic
#151905 #1C2207 #465412 #70861D #9AB928

Accessibility & contrast

On white

8.28
#465412 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#465412 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #465412
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##465412#FFFFFF#000000##FFFFFF
##4654121.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F06
Deuteranopia (green-blind)
#584E18
Tritanopia (blue-blind)
#4A4F47
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #465412;
/* rgb */ color: rgb(70, 84, 18);
/* oklch */ color: oklch(42.0% 0.090 121.0);
Tailwind
colors: {
  custom: {
    50: '#7c8455',
    500: '#465412',
    950: '#000000',
  },
}
SCSS
$custom: #465412;
$custom-light: #7c8455;
$custom-dark: #000000;
JSON
{
  "hex": "#465412",
  "rgb": {
    "r": 70,
    "g": 84,
    "b": 18
  },
  "hsl": {
    "h": 72.727,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.41983,
    "c": 0.08973,
    "h": 121
  },
  "luminance": 0.07686
}

Semantic roles & 50–950 ramp

primary
#465412
secondary
#48358D
accent
#40E864
background
#F7F8F5
surface
#EEEFE9
border
#C9CAC5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #465412

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

Preview Lab → · Contrast checker → · Palette generator →

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