#465018#465018

#465018 is a dark, moderate yellow-green. Relative luminance 0.071; OKLCH L 41.0% C 0.079 H 118.7°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#465018
RGBrgb(70, 80, 24)
HSLhsl(71, 54%, 20%)
HSVhsv(71, 70%, 31%)
CMYKcmyk(12.5%, 0%, 70%, 68.6%)
CIE-LABlab(32.05, -13.00, 30.58)
CIE-LCHlch(32.05, 33.23, 113.04°)
OKLaboklab(40.97% -0.0381 0.0696)
OKLCHoklch(40.97% 0.079 118.7)
XYZxyz(5.5594, 7.1054, 1.9426)
Luminance0.0711 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#465018 #221850
analogous
#503E18 #465018 #2A5018
triadic
#465018 #184650 #501846
tetradic
#465018 #18503E #221850 #50182A
square
#465018 #18503E #221850 #50182A
split-complementary
#465018 #182A50 #3E1850
monochromatic
#151807 #1D210A #465018 #6F7F26 #98AE34

Accessibility & contrast

On white

8.67
#465018 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#465018 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #465018
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##465018#FFFFFF#000000##FFFFFF
##4650181.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B11
Deuteranopia (green-blind)
#544C1C
Tritanopia (blue-blind)
#4A4B44
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #465018;
/* rgb */ color: rgb(70, 80, 24);
/* oklch */ color: oklch(41.0% 0.079 118.7);
Tailwind
colors: {
  custom: {
    50: '#7b8158',
    500: '#465018',
    950: '#000000',
  },
}
SCSS
$custom: #465018;
$custom-light: #7b8158;
$custom-dark: #000000;
JSON
{
  "hex": "#465018",
  "rgb": {
    "r": 70,
    "g": 80,
    "b": 24
  },
  "hsl": {
    "h": 70.714,
    "s": 53.846,
    "l": 20.392
  },
  "oklch": {
    "l": 0.40972,
    "c": 0.07937,
    "h": 118.7
  },
  "luminance": 0.07105
}

Semantic roles & 50–950 ramp

primary
#465018
secondary
#4A3D87
accent
#4BDD65
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #465018

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

Preview Lab → · Contrast checker → · Palette generator →

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