#12300E#12300E

#12300E is a dark, moderate green. Relative luminance 0.023; OKLCH L 27.7% C 0.068 H 141.4°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#12300E
RGBrgb(18, 48, 14)
HSLhsl(113, 55%, 12%)
HSVhsv(113, 71%, 19%)
CMYKcmyk(62.5%, 0%, 70.8%, 81.2%)
CIE-LABlab(16.86, -19.51, 17.90)
CIE-LCHlch(16.86, 26.48, 137.47°)
OKLaboklab(27.68% -0.0533 0.0426)
OKLCHoklch(27.68% 0.068 141.4)
XYZxyz(1.3856, 2.2741, 0.7813)
Luminance0.0227 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12300E #2C0E30
analogous
#23300E #12300E #0E301B
triadic
#12300E #0E1230 #300E12
tetradic
#12300E #0E2330 #2C0E30 #301B0E
square
#12300E #0E2330 #2C0E30 #301B0E
split-complementary
#12300E #1B0E30 #300E23
monochromatic
#091807 #091807 #12300E #245F1C #368F2A

Accessibility & contrast

On white

14.43
#12300E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#12300E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12300E
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12300E#FFFFFF#000000##FFFFFF
##12300E1.0014.431.4514.43
#FFFFFF14.431.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312B0A
Deuteranopia (green-blind)
#2D2911
Tritanopia (blue-blind)
#0E2E29
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #12300e;
/* rgb */ color: rgb(18, 48, 14);
/* oklch */ color: oklch(27.7% 0.068 141.4);
Tailwind
colors: {
  custom: {
    50: '#53684e',
    500: '#12300e',
    950: '#000000',
  },
}
SCSS
$custom: #12300e;
$custom-light: #53684e;
$custom-dark: #000000;
JSON
{
  "hex": "#12300e",
  "rgb": {
    "r": 18,
    "g": 48,
    "b": 14
  },
  "hsl": {
    "h": 112.941,
    "s": 54.839,
    "l": 12.157
  },
  "oklch": {
    "l": 0.27676,
    "c": 0.06821,
    "h": 141.4
  },
  "luminance": 0.02274
}

Semantic roles & 50–950 ramp

primary
#12300E
secondary
#632F6A
accent
#4ADECD
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020601
muted
#787A77

Preview Lab

Preview with #12300E

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

Preview Lab → · Contrast checker → · Palette generator →

#12300E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva