#12331F#12331F

#12331F is a dark, muted green. Relative luminance 0.026; OKLCH L 29.0% C 0.054 H 154.5°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#12331F
RGBrgb(18, 51, 31)
HSLhsl(144, 48%, 14%)
HSVhsv(144, 65%, 20%)
CMYKcmyk(64.7%, 0%, 39.2%, 80%)
CIE-LABlab(18.34, -17.77, 9.14)
CIE-LCHlch(18.34, 19.99, 152.78°)
OKLaboklab(28.99% -0.0484 0.0231)
OKLCHoklch(28.99% 0.054 154.5)
XYZxyz(1.6805, 2.5950, 1.7084)
Luminance0.0260 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12331F #331226
analogous
#153312 #12331F #12332F
triadic
#12331F #1F1233 #331F12
tetradic
#12331F #121533 #331226 #332F12
square
#12331F #121533 #331226 #332F12
split-complementary
#12331F #2F1233 #331215
monochromatic
#08170E #08170E #12331F #22603A #328D56

Accessibility & contrast

On white

13.82
#12331F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#12331F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12331F
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12331F#FFFFFF#000000##FFFFFF
##12331F1.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332F1E
Deuteranopia (green-blind)
#2E2B20
Tritanopia (blue-blind)
#09322E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #12331f;
/* rgb */ color: rgb(18, 51, 31);
/* oklch */ color: oklch(29.0% 0.054 154.5);
Tailwind
colors: {
  custom: {
    50: '#536b5a',
    500: '#12331f',
    950: '#000000',
  },
}
SCSS
$custom: #12331f;
$custom-light: #536b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#12331f",
  "rgb": {
    "r": 18,
    "g": 51,
    "b": 31
  },
  "hsl": {
    "h": 143.636,
    "s": 47.826,
    "l": 13.529
  },
  "oklch": {
    "l": 0.28989,
    "c": 0.05358,
    "h": 154.5
  },
  "luminance": 0.02595
}

Semantic roles & 50–950 ramp

primary
#12331F
secondary
#6B3556
accent
#50A2D7
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020604
muted
#787A79

Preview Lab

Preview with #12331F

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

Preview Lab → · Contrast checker → · Palette generator →

#12331F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva