#465812#465812

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

Color values

HEX#465812
RGBrgb(70, 88, 18)
HSLhsl(75, 66%, 21%)
HSVhsv(75, 80%, 35%)
CMYKcmyk(20.5%, 0%, 79.5%, 65.5%)
CIE-LABlab(34.65, -17.87, 35.85)
CIE-LCHlch(34.65, 40.06, 116.49°)
OKLaboklab(43.06% -0.0522 0.0797)
OKLCHoklch(43.06% 0.095 123.2)
XYZxyz(6.1248, 8.3252, 1.8564)
Luminance0.0833 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#465812 #241258
analogous
#584712 #465812 #235812
triadic
#465812 #124658 #581246
tetradic
#465812 #125847 #241258 #581223
square
#465812 #125847 #241258 #581223
split-complementary
#465812 #122358 #471258
monochromatic
#141905 #1E2508 #465812 #6E8B1C #97BE27

Accessibility & contrast

On white

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

On black

2.67
#465812 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##465812#FFFFFF#000000##FFFFFF
##4658121.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #465812;
/* rgb */ color: rgb(70, 88, 18);
/* oklch */ color: oklch(43.1% 0.095 123.2);
Tailwind
colors: {
  custom: {
    50: '#7c8756',
    500: '#465812',
    950: '#000000',
  },
}
SCSS
$custom: #465812;
$custom-light: #7c8756;
$custom-dark: #000000;
JSON
{
  "hex": "#465812",
  "rgb": {
    "r": 70,
    "g": 88,
    "b": 18
  },
  "hsl": {
    "h": 75.429,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.43057,
    "c": 0.09522,
    "h": 123.2
  },
  "luminance": 0.08325
}

Semantic roles & 50–950 ramp

primary
#465812
secondary
#4D3591
accent
#3FE96B
background
#F7F8F5
surface
#EEEFE9
border
#C9CAC5
text
#0A0B03
muted
#7C7C78

Preview Lab

Preview with #465812

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

Preview Lab → · Contrast checker → · Palette generator →

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