#125338#125338

#125338 is a dark, moderate teal. Relative luminance 0.066; OKLCH L 39.5% C 0.079 H 160.9°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#125338
RGBrgb(18, 83, 56)
HSLhsl(155, 64%, 20%)
HSVhsv(155, 78%, 33%)
CMYKcmyk(78.3%, 0%, 32.5%, 67.5%)
CIE-LABlab(30.88, -27.34, 10.17)
CIE-LCHlch(30.88, 29.17, 159.59°)
OKLaboklab(39.46% -0.0746 0.0258)
OKLCHoklch(39.46% 0.079 160.9)
XYZxyz(4.0561, 6.6002, 4.8008)
Luminance0.0660 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125338 #53122D
analogous
#125318 #125338 #124E53
triadic
#125338 #381253 #533812
tetradic
#125338 #181253 #53122D #4E5312
square
#125338 #181253 #53122D #4E5312
split-complementary
#125338 #53124E #531812
monochromatic
#051911 #072116 #125338 #1D855A #28B87C

Accessibility & contrast

On white

9.05
#125338 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#125338 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125338
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125338#FFFFFF#000000##FFFFFF
##1253381.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524C36
Deuteranopia (green-blind)
#4A463A
Tritanopia (blue-blind)
#00534C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #125338;
/* rgb */ color: rgb(18, 83, 56);
/* oklch */ color: oklch(39.5% 0.079 160.9);
Tailwind
colors: {
  custom: {
    50: '#5b846e',
    500: '#125338',
    950: '#000000',
  },
}
SCSS
$custom: #125338;
$custom-light: #5b846e;
$custom-dark: #000000;
JSON
{
  "hex": "#125338",
  "rgb": {
    "r": 18,
    "g": 83,
    "b": 56
  },
  "hsl": {
    "h": 155.077,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.39463,
    "c": 0.0789,
    "h": 160.9
  },
  "luminance": 0.06601
}

Semantic roles & 50–950 ramp

primary
#125338
secondary
#8C3559
accent
#4086E7
background
#F5F8F6
surface
#E9EFEC
border
#C5CAC7
text
#040B07
muted
#797C7A

Preview Lab

Preview with #125338

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

Preview Lab → · Contrast checker → · Palette generator →

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