#465F12#465F12

#465F12 is a dark, moderate yellow-green. Relative luminance 0.095; OKLCH L 44.9% C 0.105 H 126.4°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#465F12
RGBrgb(70, 95, 18)
HSLhsl(79, 68%, 22%)
HSVhsv(79, 81%, 37%)
CMYKcmyk(26.3%, 0%, 81.1%, 62.7%)
CIE-LABlab(36.99, -21.56, 38.09)
CIE-LCHlch(36.99, 43.77, 119.52°)
OKLaboklab(44.95% -0.0623 0.0844)
OKLCHoklch(44.95% 0.105 126.4)
XYZxyz(6.7272, 9.5301, 2.0572)
Luminance0.0953 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#465F12 #2B125F
analogous
#5F5212 #465F12 #1F5F12
triadic
#465F12 #12465F #5F1246
tetradic
#465F12 #125F52 #2B125F #5F121F
square
#465F12 #125F52 #2B125F #5F121F
split-complementary
#465F12 #121F5F #52125F
monochromatic
#131A05 #202C08 #465F12 #6C921C #92C625

Accessibility & contrast

On white

7.23
#465F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#465F12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #465F12
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##465F12#FFFFFF#000000##FFFFFF
##465F121.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645802
Deuteranopia (green-blind)
#61571A
Tritanopia (blue-blind)
#495A50
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #465f12;
/* rgb */ color: rgb(70, 95, 18);
/* oklch */ color: oklch(44.9% 0.105 126.4);
Tailwind
colors: {
  custom: {
    50: '#7c8c57',
    500: '#465f12',
    950: '#000000',
  },
}
SCSS
$custom: #465f12;
$custom-light: #7c8c57;
$custom-dark: #000000;
JSON
{
  "hex": "#465f12",
  "rgb": {
    "r": 70,
    "g": 95,
    "b": 18
  },
  "hsl": {
    "h": 79.481,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.44947,
    "c": 0.10485,
    "h": 126.4
  },
  "luminance": 0.0953
}

Semantic roles & 50–950 ramp

primary
#465F12
secondary
#553697
accent
#3DEB75
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0C03
muted
#7C7D78

Preview Lab

Preview with #465F12

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

Preview Lab → · Contrast checker → · Palette generator →

#465F12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva