#124C2F#124C2F

#124C2F is a dark, moderate teal. Relative luminance 0.055; OKLCH L 37.1% C 0.077 H 157.0°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#124C2F
RGBrgb(18, 76, 47)
HSLhsl(150, 62%, 18%)
HSVhsv(150, 76%, 30%)
CMYKcmyk(76.3%, 0%, 38.2%, 70.2%)
CIE-LABlab(28.12, -26.29, 12.03)
CIE-LCHlch(28.12, 28.91, 155.41°)
OKLaboklab(37.13% -0.0713 0.0303)
OKLCHoklch(37.13% 0.077 157)
XYZxyz(3.3467, 5.5023, 3.5745)
Luminance0.0550 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124C2F #4C122F
analogous
#124C12 #124C2F #124C4C
triadic
#124C2F #2F124C #4C2F12
tetradic
#124C2F #12124C #4C122F #4C4C12
square
#124C2F #12124C #4C122F #4C4C12
split-complementary
#124C2F #4C124C #4C1212
monochromatic
#06190F #061B10 #124C2F #1E7D4E #29AF6C

Accessibility & contrast

On white

10.00
#124C2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#124C2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124C2F
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124C2F#FFFFFF#000000##FFFFFF
##124C2F1.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B452D
Deuteranopia (green-blind)
#444031
Tritanopia (blue-blind)
#004B44
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #124c2f;
/* rgb */ color: rgb(18, 76, 47);
/* oklch */ color: oklch(37.1% 0.077 157.0);
Tailwind
colors: {
  custom: {
    50: '#597e67',
    500: '#124c2f',
    950: '#000000',
  },
}
SCSS
$custom: #124c2f;
$custom-light: #597e67;
$custom-dark: #000000;
JSON
{
  "hex": "#124c2f",
  "rgb": {
    "r": 18,
    "g": 76,
    "b": 47
  },
  "hsl": {
    "h": 150,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.37129,
    "c": 0.07745,
    "h": 157
  },
  "luminance": 0.05503
}

Semantic roles & 50–950 ramp

primary
#124C2F
secondary
#85355D
accent
#4394E5
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #124C2F

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

Preview Lab → · Contrast checker → · Palette generator →

#124C2F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva