#12351B#12351B

#12351B is a dark, moderate green. Relative luminance 0.028; OKLCH L 29.5% C 0.062 H 149.5°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#12351B
RGBrgb(18, 53, 27)
HSLhsl(135, 49%, 14%)
HSVhsv(135, 66%, 21%)
CMYKcmyk(66%, 0%, 49.1%, 79.2%)
CIE-LABlab(19.03, -19.71, 12.69)
CIE-LCHlch(19.03, 23.44, 147.23°)
OKLaboklab(29.52% -0.0534 0.0314)
OKLCHoklch(29.52% 0.062 149.5)
XYZxyz(1.7203, 2.7538, 1.4776)
Luminance0.0275 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12351B #35122C
analogous
#1B3512 #12351B #12352D
triadic
#12351B #1B1235 #351B12
tetradic
#12351B #121B35 #35122C #352D12
square
#12351B #121B35 #35122C #352D12
split-complementary
#12351B #2D1235 #35121B
monochromatic
#08170C #08170C #12351B #226332 #31904A

Accessibility & contrast

On white

13.54
#12351B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#12351B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12351B
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12351B#FFFFFF#000000##FFFFFF
##12351B1.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353019
Deuteranopia (green-blind)
#312D1D
Tritanopia (blue-blind)
#0A342F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #12351b;
/* rgb */ color: rgb(18, 53, 27);
/* oklch */ color: oklch(29.5% 0.062 149.5);
Tailwind
colors: {
  custom: {
    50: '#546c57',
    500: '#12351b',
    950: '#000000',
  },
}
SCSS
$custom: #12351b;
$custom-light: #546c57;
$custom-dark: #000000;
JSON
{
  "hex": "#12351b",
  "rgb": {
    "r": 18,
    "g": 53,
    "b": 27
  },
  "hsl": {
    "h": 135.429,
    "s": 49.296,
    "l": 13.922
  },
  "oklch": {
    "l": 0.29523,
    "c": 0.06193,
    "h": 149.5
  },
  "luminance": 0.02754
}

Semantic roles & 50–950 ramp

primary
#12351B
secondary
#6D355F
accent
#4FB5D9
background
#F4F6F5
surface
#E8EBE9
border
#C4C6C5
text
#030703
muted
#787A78

Preview Lab

Preview with #12351B

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

Preview Lab → · Contrast checker → · Palette generator →

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