#12451F#12451F

#12451F is a dark, moderate green. Relative luminance 0.045; OKLCH L 34.6% C 0.084 H 148.4°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#12451F
RGBrgb(18, 69, 31)
HSLhsl(135, 59%, 17%)
HSVhsv(135, 74%, 27%)
CMYKcmyk(73.9%, 0%, 55.1%, 72.9%)
CIE-LABlab(25.21, -26.50, 18.08)
CIE-LCHlch(25.21, 32.08, 145.69°)
OKLaboklab(34.63% -0.0715 0.0439)
OKLCHoklch(34.63% 0.084 148.4)
XYZxyz(2.6247, 4.4835, 2.0231)
Luminance0.0448 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12451F #451238
analogous
#1F4512 #12451F #124539
triadic
#12451F #1F1245 #451F12
tetradic
#12451F #121F45 #451238 #453912
square
#12451F #121F45 #451238 #453912
split-complementary
#12451F #391245 #45121F
monochromatic
#06180B #06180B #12451F #1F7635 #2BA64B

Accessibility & contrast

On white

11.07
#12451F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#12451F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12451F
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12451F#FFFFFF#000000##FFFFFF
##12451F1.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463E1C
Deuteranopia (green-blind)
#3F3A22
Tritanopia (blue-blind)
#02433C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #12451f;
/* rgb */ color: rgb(18, 69, 31);
/* oklch */ color: oklch(34.6% 0.084 148.4);
Tailwind
colors: {
  custom: {
    50: '#57795b',
    500: '#12451f',
    950: '#000000',
  },
}
SCSS
$custom: #12451f;
$custom-light: #57795b;
$custom-dark: #000000;
JSON
{
  "hex": "#12451f",
  "rgb": {
    "r": 18,
    "g": 69,
    "b": 31
  },
  "hsl": {
    "h": 135.294,
    "s": 58.621,
    "l": 17.059
  },
  "oklch": {
    "l": 0.34631,
    "c": 0.08388,
    "h": 148.4
  },
  "luminance": 0.04484
}

Semantic roles & 50–950 ramp

primary
#12451F
secondary
#7E356B
accent
#46BAE2
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030904
muted
#787B79

Preview Lab

Preview with #12451F

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

Preview Lab → · Contrast checker → · Palette generator →

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