#465418#465418

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

Color values

HEX#465418
RGBrgb(70, 84, 24)
HSLhsl(74, 56%, 21%)
HSVhsv(74, 71%, 33%)
CMYKcmyk(16.7%, 0%, 71.4%, 67.1%)
CIE-LABlab(33.37, -15.26, 31.97)
CIE-LCHlch(33.37, 35.43, 115.51°)
OKLaboklab(42.04% -0.0444 0.0726)
OKLCHoklch(42.04% 0.085 121.4)
XYZxyz(5.8611, 7.7087, 2.0431)
Luminance0.0771 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#465418 #261854
analogous
#544418 #465418 #285418
triadic
#465418 #184654 #541846
tetradic
#465418 #185444 #261854 #541828
square
#465418 #185444 #261854 #541828
split-complementary
#465418 #182854 #441854
monochromatic
#141807 #1E240A #465418 #6E8426 #95B333

Accessibility & contrast

On white

8.26
#465418 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #465418
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##465418#FFFFFF#000000##FFFFFF
##4654181.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594F10
Deuteranopia (green-blind)
#584F1C
Tritanopia (blue-blind)
#4A4F48
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #465418;
/* rgb */ color: rgb(70, 84, 24);
/* oklch */ color: oklch(42.0% 0.085 121.4);
Tailwind
colors: {
  custom: {
    50: '#7b8458',
    500: '#465418',
    950: '#000000',
  },
}
SCSS
$custom: #465418;
$custom-light: #7b8458;
$custom-dark: #000000;
JSON
{
  "hex": "#465418",
  "rgb": {
    "r": 70,
    "g": 84,
    "b": 24
  },
  "hsl": {
    "h": 74,
    "s": 55.556,
    "l": 21.176
  },
  "oklch": {
    "l": 0.42036,
    "c": 0.08506,
    "h": 121.4
  },
  "luminance": 0.07709
}

Semantic roles & 50–950 ramp

primary
#465418
secondary
#4F3D8B
accent
#49DF6C
background
#F7F8F5
surface
#EEEFE9
border
#C9CAC5
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #465418

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

Preview Lab → · Contrast checker → · Palette generator →

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