#12300F#12300F

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

Color values

HEX#12300F
RGBrgb(18, 48, 15)
HSLhsl(115, 52%, 12%)
HSVhsv(115, 69%, 19%)
CMYKcmyk(62.5%, 0%, 68.7%, 81.2%)
CIE-LABlab(16.88, -19.37, 17.40)
CIE-LCHlch(16.88, 26.04, 138.06°)
OKLaboklab(27.69% -0.0528 0.0414)
OKLCHoklch(27.69% 0.067 141.9)
XYZxyz(1.3926, 2.2769, 0.8179)
Luminance0.0228 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12300F #2D0F30
analogous
#23300F #12300F #0F301C
triadic
#12300F #0F1230 #300F12
tetradic
#12300F #0F2330 #2D0F30 #301C0F
square
#12300F #0F2330 #2D0F30 #301C0F
split-complementary
#12300F #1C0F30 #300F23
monochromatic
#091707 #091707 #12300F #235F1E #358D2C

Accessibility & contrast

On white

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

On black

1.46
#12300F on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##12300F#FFFFFF#000000##FFFFFF
##12300F1.0014.431.4614.43
#FFFFFF14.431.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #12300f;
/* rgb */ color: rgb(18, 48, 15);
/* oklch */ color: oklch(27.7% 0.067 141.9);
Tailwind
colors: {
  custom: {
    50: '#53684e',
    500: '#12300f',
    950: '#000000',
  },
}
SCSS
$custom: #12300f;
$custom-light: #53684e;
$custom-dark: #000000;
JSON
{
  "hex": "#12300f",
  "rgb": {
    "r": 18,
    "g": 48,
    "b": 15
  },
  "hsl": {
    "h": 114.545,
    "s": 52.381,
    "l": 12.353
  },
  "oklch": {
    "l": 0.27691,
    "c": 0.06714,
    "h": 141.9
  },
  "luminance": 0.02277
}

Semantic roles & 50–950 ramp

primary
#12300F
secondary
#65316A
accent
#4CDCCF
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020601
muted
#787A77

Preview Lab

Preview with #12300F

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

Preview Lab → · Contrast checker → · Palette generator →

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