#465A12#465A12

#465A12 is a dark, moderate yellow-green. Relative luminance 0.087; OKLCH L 43.6% C 0.098 H 124.2°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#465A12
RGBrgb(70, 90, 18)
HSLhsl(77, 67%, 21%)
HSVhsv(77, 80%, 35%)
CMYKcmyk(22.2%, 0%, 80%, 64.7%)
CIE-LABlab(35.32, -18.94, 36.49)
CIE-LCHlch(35.32, 41.12, 117.43°)
OKLaboklab(43.6% -0.0551 0.081)
OKLCHoklch(43.6% 0.098 124.2)
XYZxyz(6.2912, 8.6580, 1.9119)
Luminance0.0866 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#465A12 #26125A
analogous
#5A4A12 #465A12 #225A12
triadic
#465A12 #12465A #5A1246
tetradic
#465A12 #125A4A #26125A #5A1222
square
#465A12 #125A4A #26125A #5A1222
split-complementary
#465A12 #12225A #4A125A
monochromatic
#141A05 #1E2708 #465A12 #6E8D1C #95C026

Accessibility & contrast

On white

7.69
#465A12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#465A12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #465A12
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##465A12#FFFFFF#000000##FFFFFF
##465A121.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605404
Deuteranopia (green-blind)
#5D5319
Tritanopia (blue-blind)
#4A554C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #465a12;
/* rgb */ color: rgb(70, 90, 18);
/* oklch */ color: oklch(43.6% 0.098 124.2);
Tailwind
colors: {
  custom: {
    50: '#7c8856',
    500: '#465a12',
    950: '#000000',
  },
}
SCSS
$custom: #465a12;
$custom-light: #7c8856;
$custom-dark: #000000;
JSON
{
  "hex": "#465a12",
  "rgb": {
    "r": 70,
    "g": 90,
    "b": 18
  },
  "hsl": {
    "h": 76.667,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.43595,
    "c": 0.09798,
    "h": 124.2
  },
  "luminance": 0.08658
}

Semantic roles & 50–950 ramp

primary
#465A12
secondary
#4F3593
accent
#3EEA6E
background
#F7F8F5
surface
#EEEFE9
border
#C9CAC5
text
#0A0B03
muted
#7C7C78

Preview Lab

Preview with #465A12

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

Preview Lab → · Contrast checker → · Palette generator →

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