#05460B#05460B

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

Color values

HEX#05460B
RGBrgb(5, 70, 11)
HSLhsl(126, 87%, 15%)
HSVhsv(126, 93%, 27%)
CMYKcmyk(92.9%, 0%, 84.3%, 72.5%)
CIE-LABlab(25.07, -32.11, 28.22)
CIE-LCHlch(25.07, 42.75, 138.69°)
OKLaboklab(34.35% -0.0868 0.0636)
OKLCHoklch(34.35% 0.108 143.8)
XYZxyz(2.3130, 4.4365, 1.0510)
Luminance0.0444 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05460B #460540
analogous
#204605 #05460B #05462B
triadic
#05460B #0B0546 #460B05
tetradic
#05460B #052046 #460540 #462B05
square
#05460B #052046 #460540 #462B05
split-complementary
#05460B #2B0546 #460520
monochromatic
#021D04 #021D04 #05460B #097F14 #0DB81D

Accessibility & contrast

On white

11.13
#05460B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #05460B
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05460B#FFFFFF#000000##FFFFFF
##05460B1.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #05460b;
/* rgb */ color: rgb(5, 70, 11);
/* oklch */ color: oklch(34.4% 0.108 143.8);
Tailwind
colors: {
  custom: {
    50: '#557a4f',
    500: '#05460b',
    950: '#000000',
  },
}
SCSS
$custom: #05460b;
$custom-light: #557a4f;
$custom-dark: #000000;
JSON
{
  "hex": "#05460b",
  "rgb": {
    "r": 5,
    "g": 70,
    "b": 11
  },
  "hsl": {
    "h": 125.538,
    "s": 86.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.34352,
    "c": 0.10764,
    "h": 143.8
  },
  "luminance": 0.04437
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #05460B

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

Preview Lab → · Contrast checker → · Palette generator →

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