#125239#125239

#125239 is a dark, moderate teal. Relative luminance 0.065; OKLCH L 39.2% C 0.076 H 162.4°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#125239
RGBrgb(18, 82, 57)
HSLhsl(157, 64%, 20%)
HSVhsv(157, 78%, 32%)
CMYKcmyk(78%, 0%, 30.5%, 67.8%)
CIE-LABlab(30.54, -26.62, 9.08)
CIE-LCHlch(30.54, 28.12, 161.17°)
OKLaboklab(39.19% -0.0728 0.0231)
OKLCHoklch(39.19% 0.076 162.4)
XYZxyz(4.0048, 6.4581, 4.9056)
Luminance0.0646 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125239 #52122B
analogous
#125219 #125239 #124B52
triadic
#125239 #391252 #523912
tetradic
#125239 #191252 #52122B #4B5212
square
#125239 #191252 #52122B #4B5212
split-complementary
#125239 #52124B #521912
monochromatic
#061911 #072016 #125239 #1D845C #28B67F

Accessibility & contrast

On white

9.16
#125239 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #125239
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125239#FFFFFF#000000##FFFFFF
##1252391.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #125239;
/* rgb */ color: rgb(18, 82, 57);
/* oklch */ color: oklch(39.2% 0.076 162.4);
Tailwind
colors: {
  custom: {
    50: '#5b836f',
    500: '#125239',
    950: '#000000',
  },
}
SCSS
$custom: #125239;
$custom-light: #5b836f;
$custom-dark: #000000;
JSON
{
  "hex": "#125239",
  "rgb": {
    "r": 18,
    "g": 82,
    "b": 57
  },
  "hsl": {
    "h": 156.563,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.39192,
    "c": 0.07643,
    "h": 162.4
  },
  "luminance": 0.06459
}

Semantic roles & 50–950 ramp

primary
#125239
secondary
#8B3557
accent
#4182E7
background
#F5F8F6
surface
#E9EFEC
border
#C5CAC7
text
#040A07
muted
#797C7A

Preview Lab

Preview with #125239

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

Preview Lab → · Contrast checker → · Palette generator →

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