#465912#465912

#465912 is a dark, moderate yellow-green. Relative luminance 0.085; OKLCH L 43.3% C 0.097 H 123.7°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#465912
RGBrgb(70, 89, 18)
HSLhsl(76, 66%, 21%)
HSVhsv(76, 80%, 35%)
CMYKcmyk(21.3%, 0%, 79.8%, 65.1%)
CIE-LABlab(34.98, -18.41, 36.18)
CIE-LCHlch(34.98, 40.59, 116.97°)
OKLaboklab(43.33% -0.0536 0.0803)
OKLCHoklch(43.33% 0.097 123.7)
XYZxyz(6.2074, 8.4905, 1.8839)
Luminance0.0849 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#465912 #251259
analogous
#594812 #465912 #225912
triadic
#465912 #124659 #591246
tetradic
#465912 #125948 #251259 #591222
square
#465912 #125948 #251259 #591222
split-complementary
#465912 #122259 #481259
monochromatic
#141905 #1E2608 #465912 #6E8C1C #96BF27

Accessibility & contrast

On white

7.78
#465912 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#465912 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #465912
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##465912#FFFFFF#000000##FFFFFF
##4659121.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5304
Deuteranopia (green-blind)
#5C5219
Tritanopia (blue-blind)
#4A544B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #465912;
/* rgb */ color: rgb(70, 89, 18);
/* oklch */ color: oklch(43.3% 0.097 123.7);
Tailwind
colors: {
  custom: {
    50: '#7c8856',
    500: '#465912',
    950: '#000000',
  },
}
SCSS
$custom: #465912;
$custom-light: #7c8856;
$custom-dark: #000000;
JSON
{
  "hex": "#465912",
  "rgb": {
    "r": 70,
    "g": 89,
    "b": 18
  },
  "hsl": {
    "h": 76.056,
    "s": 66.355,
    "l": 20.98
  },
  "oklch": {
    "l": 0.43326,
    "c": 0.09661,
    "h": 123.7
  },
  "luminance": 0.08491
}

Semantic roles & 50–950 ramp

primary
#465912
secondary
#4E3592
accent
#3FE96C
background
#F7F8F5
surface
#EEEFE9
border
#C9CAC5
text
#0A0B03
muted
#7C7C78

Preview Lab

Preview with #465912

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

Preview Lab → · Contrast checker → · Palette generator →

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