#12380F#12380F

#12380F is a dark, moderate green. Relative luminance 0.030; OKLCH L 30.3% C 0.080 H 142.1°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#12380F
RGBrgb(18, 56, 15)
HSLhsl(116, 58%, 14%)
HSVhsv(116, 73%, 22%)
CMYKcmyk(67.9%, 0%, 73.2%, 78%)
CIE-LABlab(20.01, -23.19, 21.10)
CIE-LCHlch(20.01, 31.35, 137.70°)
OKLaboklab(30.27% -0.0632 0.0491)
OKLCHoklch(30.27% 0.08 142.1)
XYZxyz(1.7498, 2.9913, 0.9370)
Luminance0.0299 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12380F #350F38
analogous
#27380F #12380F #0F3821
triadic
#12380F #0F1238 #380F12
tetradic
#12380F #0F2738 #350F38 #38210F
square
#12380F #0F2738 #350F38 #38210F
split-complementary
#12380F #210F38 #380F27
monochromatic
#081806 #081806 #12380F #22681C #319929

Accessibility & contrast

On white

13.14
#12380F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#12380F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12380F
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12380F#FFFFFF#000000##FFFFFF
##12380F1.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39320A
Deuteranopia (green-blind)
#352F12
Tritanopia (blue-blind)
#0C362F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #12380f;
/* rgb */ color: rgb(18, 56, 15);
/* oklch */ color: oklch(30.3% 0.080 142.1);
Tailwind
colors: {
  custom: {
    50: '#556f4f',
    500: '#12380f',
    950: '#000000',
  },
}
SCSS
$custom: #12380f;
$custom-light: #556f4f;
$custom-dark: #000000;
JSON
{
  "hex": "#12380f",
  "rgb": {
    "r": 18,
    "g": 56,
    "b": 15
  },
  "hsl": {
    "h": 115.61,
    "s": 57.746,
    "l": 13.922
  },
  "oklch": {
    "l": 0.30269,
    "c": 0.08005,
    "h": 142.1
  },
  "luminance": 0.02991
}

Semantic roles & 50–950 ramp

primary
#12380F
secondary
#6D3072
accent
#47E1D6
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#030702
muted
#787A78

Preview Lab

Preview with #12380F

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

Preview Lab → · Contrast checker → · Palette generator →

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