#125236#125236

#125236 is a dark, moderate teal. Relative luminance 0.064; OKLCH L 39.1% C 0.079 H 159.7°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#125236
RGBrgb(18, 82, 54)
HSLhsl(154, 64%, 20%)
HSVhsv(154, 78%, 32%)
CMYKcmyk(78%, 0%, 34.1%, 67.8%)
CIE-LABlab(30.47, -27.37, 10.86)
CIE-LCHlch(30.47, 29.45, 158.37°)
OKLaboklab(39.11% -0.0745 0.0275)
OKLCHoklch(39.11% 0.079 159.7)
XYZxyz(3.9322, 6.4291, 4.5230)
Luminance0.0643 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125236 #52122E
analogous
#125216 #125236 #124E52
triadic
#125236 #361252 #523612
tetradic
#125236 #161252 #52122E #4E5212
square
#125236 #161252 #52122E #4E5212
split-complementary
#125236 #52124E #521612
monochromatic
#061911 #072015 #125236 #1D8457 #28B678

Accessibility & contrast

On white

9.19
#125236 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#125236 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125236
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125236#FFFFFF#000000##FFFFFF
##1252361.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514B34
Deuteranopia (green-blind)
#494538
Tritanopia (blue-blind)
#00524B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #125236;
/* rgb */ color: rgb(18, 82, 54);
/* oklch */ color: oklch(39.1% 0.079 159.7);
Tailwind
colors: {
  custom: {
    50: '#5b836d',
    500: '#125236',
    950: '#000000',
  },
}
SCSS
$custom: #125236;
$custom-light: #5b836d;
$custom-dark: #000000;
JSON
{
  "hex": "#125236",
  "rgb": {
    "r": 18,
    "g": 82,
    "b": 54
  },
  "hsl": {
    "h": 153.75,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.39112,
    "c": 0.07941,
    "h": 159.7
  },
  "luminance": 0.0643
}

Semantic roles & 50–950 ramp

primary
#125236
secondary
#8B355B
accent
#418AE7
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B07
muted
#797C7A

Preview Lab

Preview with #125236

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

Preview Lab → · Contrast checker → · Palette generator →

#125236 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva