#124B2F#124B2F

#124B2F is a dark, moderate teal. Relative luminance 0.054; OKLCH L 36.8% C 0.076 H 157.5°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#124B2F
RGBrgb(18, 75, 47)
HSLhsl(151, 61%, 18%)
HSVhsv(151, 76%, 29%)
CMYKcmyk(76%, 0%, 37.3%, 70.6%)
CIE-LABlab(27.75, -25.83, 11.53)
CIE-LCHlch(27.75, 28.29, 155.94°)
OKLaboklab(36.83% -0.0701 0.0291)
OKLCHoklch(36.83% 0.076 157.5)
XYZxyz(3.2783, 5.3656, 3.5517)
Luminance0.0537 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124B2F #4B122E
analogous
#124B12 #124B2F #124A4B
triadic
#124B2F #2F124B #4B2F12
tetradic
#124B2F #12124B #4B122E #4A4B12
square
#124B2F #12124B #4B122E #4A4B12
split-complementary
#124B2F #4B124A #4B1212
monochromatic
#06190F #061A10 #124B2F #1E7C4E #2AAE6D

Accessibility & contrast

On white

10.13
#124B2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#124B2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124B2F
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124B2F#FFFFFF#000000##FFFFFF
##124B2F1.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A452D
Deuteranopia (green-blind)
#433F31
Tritanopia (blue-blind)
#004A44
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #124b2f;
/* rgb */ color: rgb(18, 75, 47);
/* oklch */ color: oklch(36.8% 0.076 157.5);
Tailwind
colors: {
  custom: {
    50: '#597e67',
    500: '#124b2f',
    950: '#000000',
  },
}
SCSS
$custom: #124b2f;
$custom-light: #597e67;
$custom-dark: #000000;
JSON
{
  "hex": "#124b2f",
  "rgb": {
    "r": 18,
    "g": 75,
    "b": 47
  },
  "hsl": {
    "h": 150.526,
    "s": 61.29,
    "l": 18.235
  },
  "oklch": {
    "l": 0.36826,
    "c": 0.07588,
    "h": 157.5
  },
  "luminance": 0.05366
}

Semantic roles & 50–950 ramp

primary
#124B2F
secondary
#84355C
accent
#4392E4
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #124B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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