#465811#465811

#465811 is a dark, moderate yellow-green. Relative luminance 0.083; OKLCH L 43.0% C 0.096 H 123.1°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#465811
RGBrgb(70, 88, 17)
HSLhsl(75, 68%, 21%)
HSVhsv(75, 81%, 35%)
CMYKcmyk(20.5%, 0%, 80.7%, 65.5%)
CIE-LABlab(34.64, -17.93, 36.23)
CIE-LCHlch(34.64, 40.43, 116.32°)
OKLaboklab(43.05% -0.0524 0.0803)
OKLCHoklch(43.05% 0.096 123.1)
XYZxyz(6.1168, 8.3220, 1.8143)
Luminance0.0832 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#465811 #231158
analogous
#584611 #465811 #225811
triadic
#465811 #114658 #581146
tetradic
#465811 #115846 #231158 #581122
square
#465811 #115846 #231158 #581122
split-complementary
#465811 #112258 #461158
monochromatic
#141A05 #1D2507 #465811 #6F8B1B #98BF25

Accessibility & contrast

On white

7.88
#465811 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#465811 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #465811
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##465811#FFFFFF#000000##FFFFFF
##4658111.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5203
Deuteranopia (green-blind)
#5B5118
Tritanopia (blue-blind)
#4A534B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #465811;
/* rgb */ color: rgb(70, 88, 17);
/* oklch */ color: oklch(43.0% 0.096 123.1);
Tailwind
colors: {
  custom: {
    50: '#7c8755',
    500: '#465811',
    950: '#000000',
  },
}
SCSS
$custom: #465811;
$custom-light: #7c8755;
$custom-dark: #000000;
JSON
{
  "hex": "#465811",
  "rgb": {
    "r": 70,
    "g": 88,
    "b": 17
  },
  "hsl": {
    "h": 75.211,
    "s": 67.619,
    "l": 20.588
  },
  "oklch": {
    "l": 0.43049,
    "c": 0.09588,
    "h": 123.1
  },
  "luminance": 0.08322
}

Semantic roles & 50–950 ramp

primary
#465811
secondary
#4B3491
accent
#3DEA69
background
#F7F8F5
surface
#EEEFE9
border
#C9CAC5
text
#0A0B03
muted
#7C7C78

Preview Lab

Preview with #465811

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

Preview Lab → · Contrast checker → · Palette generator →

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