#05460C#05460C

#05460C is a dark, moderate green. Relative luminance 0.044; OKLCH L 34.4% C 0.107 H 144.0°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#05460C
RGBrgb(5, 70, 12)
HSLhsl(126, 87%, 15%)
HSVhsv(126, 93%, 27%)
CMYKcmyk(92.9%, 0%, 82.9%, 72.5%)
CIE-LABlab(25.07, -32.02, 27.81)
CIE-LCHlch(25.07, 42.41, 139.02°)
OKLaboklab(34.36% -0.0865 0.0629)
OKLCHoklch(34.36% 0.107 144)
XYZxyz(2.3189, 4.4388, 1.0823)
Luminance0.0444 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05460C #46053F
analogous
#1E4605 #05460C #05462D
triadic
#05460C #0C0546 #460C05
tetradic
#05460C #051E46 #46053F #462D05
square
#05460C #051E46 #46053F #462D05
split-complementary
#05460C #2D0546 #46051E
monochromatic
#021D05 #021D05 #05460C #097F16 #0DB820

Accessibility & contrast

On white

11.12
#05460C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#05460C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05460C
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05460C#FFFFFF#000000##FFFFFF
##05460C1.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483E03
Deuteranopia (green-blind)
#413A12
Tritanopia (blue-blind)
#00443B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #05460c;
/* rgb */ color: rgb(5, 70, 12);
/* oklch */ color: oklch(34.4% 0.107 144.0);
Tailwind
colors: {
  custom: {
    50: '#547a4f',
    500: '#05460c',
    950: '#000000',
  },
}
SCSS
$custom: #05460c;
$custom-light: #547a4f;
$custom-dark: #000000;
JSON
{
  "hex": "#05460c",
  "rgb": {
    "r": 5,
    "g": 70,
    "b": 12
  },
  "hsl": {
    "h": 126.462,
    "s": 86.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.3436,
    "c": 0.10698,
    "h": 144
  },
  "luminance": 0.04439
}

Semantic roles & 50–950 ramp

primary
#05460C
secondary
#86217B
accent
#2BE6FD
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#030902
muted
#787B78

Preview Lab

Preview with #05460C

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

Preview Lab → · Contrast checker → · Palette generator →

#05460C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva