#05351B#05351B

#05351B is a dark, moderate green. Relative luminance 0.027; OKLCH L 29.1% C 0.068 H 154.0°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#05351B
RGBrgb(5, 53, 27)
HSLhsl(148, 83%, 11%)
HSVhsv(148, 91%, 21%)
CMYKcmyk(90.6%, 0%, 49.1%, 79.2%)
CIE-LABlab(18.62, -22.87, 12.07)
CIE-LCHlch(18.62, 25.86, 152.17°)
OKLaboklab(29.07% -0.0615 0.03)
OKLCHoklch(29.07% 0.068 154)
XYZxyz(1.5334, 2.6574, 1.4688)
Luminance0.0266 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05351B #35051F
analogous
#073505 #05351B #053533
triadic
#05351B #1B0535 #351B05
tetradic
#05351B #050735 #35051F #353305
square
#05351B #050735 #35051F #353305
split-complementary
#05351B #330535 #350507
monochromatic
#031C0E #031C0E #05351B #0A6D37 #10A554

Accessibility & contrast

On white

13.71
#05351B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#05351B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05351B
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05351B#FFFFFF#000000##FFFFFF
##05351B1.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353019
Deuteranopia (green-blind)
#2F2C1D
Tritanopia (blue-blind)
#00342F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #05351b;
/* rgb */ color: rgb(5, 53, 27);
/* oklch */ color: oklch(29.1% 0.068 154.0);
Tailwind
colors: {
  custom: {
    50: '#4e6d57',
    500: '#05351b',
    950: '#000000',
  },
}
SCSS
$custom: #05351b;
$custom-light: #4e6d57;
$custom-dark: #000000;
JSON
{
  "hex": "#05351b",
  "rgb": {
    "r": 5,
    "g": 53,
    "b": 27
  },
  "hsl": {
    "h": 147.5,
    "s": 82.759,
    "l": 11.373
  },
  "oklch": {
    "l": 0.29065,
    "c": 0.06844,
    "h": 154
  },
  "luminance": 0.02658
}

Semantic roles & 50–950 ramp

primary
#05351B
secondary
#76204F
accent
#2F9CF9
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020703
muted
#787A78

Preview Lab

Preview with #05351B

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

Preview Lab → · Contrast checker → · Palette generator →

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