#465518#465518

#465518 is a dark, moderate yellow-green. Relative luminance 0.079; OKLCH L 42.3% C 0.086 H 122.1°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#465518
RGBrgb(70, 85, 24)
HSLhsl(75, 56%, 21%)
HSVhsv(75, 72%, 33%)
CMYKcmyk(17.6%, 0%, 71.8%, 66.7%)
CIE-LABlab(33.70, -15.81, 32.32)
CIE-LCHlch(33.70, 35.98, 116.07°)
OKLaboklab(42.3% -0.0459 0.0733)
OKLCHoklch(42.3% 0.086 122.1)
XYZxyz(5.9392, 7.8650, 2.0692)
Luminance0.0786 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#465518 #271855
analogous
#554618 #465518 #285518
triadic
#465518 #184655 #551846
tetradic
#465518 #185546 #271855 #551828
square
#465518 #185546 #271855 #551828
split-complementary
#465518 #182855 #461855
monochromatic
#141807 #1F250B #465518 #6D8525 #95B433

Accessibility & contrast

On white

8.16
#465518 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#465518 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #465518
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##465518#FFFFFF#000000##FFFFFF
##4655181.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5010
Deuteranopia (green-blind)
#584F1D
Tritanopia (blue-blind)
#4A5049
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #465518;
/* rgb */ color: rgb(70, 85, 24);
/* oklch */ color: oklch(42.3% 0.086 122.1);
Tailwind
colors: {
  custom: {
    50: '#7b8459',
    500: '#465518',
    950: '#000000',
  },
}
SCSS
$custom: #465518;
$custom-light: #7b8459;
$custom-dark: #000000;
JSON
{
  "hex": "#465518",
  "rgb": {
    "r": 70,
    "g": 85,
    "b": 24
  },
  "hsl": {
    "h": 74.754,
    "s": 55.963,
    "l": 21.373
  },
  "oklch": {
    "l": 0.42304,
    "c": 0.08649,
    "h": 122.1
  },
  "luminance": 0.07865
}

Semantic roles & 50–950 ramp

primary
#465518
secondary
#503D8C
accent
#49DF6E
background
#F7F8F5
surface
#EEEFE9
border
#C9CAC5
text
#0A0B03
muted
#7C7C78

Preview Lab

Preview with #465518

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

Preview Lab → · Contrast checker → · Palette generator →

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