#125335#125335

#125335 is a dark, moderate teal. Relative luminance 0.066; OKLCH L 39.4% C 0.082 H 158.4°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#125335
RGBrgb(18, 83, 53)
HSLhsl(152, 64%, 20%)
HSVhsv(152, 78%, 33%)
CMYKcmyk(78.3%, 0%, 36.1%, 67.5%)
CIE-LABlab(30.81, -28.07, 11.94)
CIE-LCHlch(30.81, 30.51, 156.96°)
OKLaboklab(39.39% -0.0762 0.0302)
OKLCHoklch(39.39% 0.082 158.4)
XYZxyz(3.9849, 6.5717, 4.4259)
Luminance0.0657 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125335 #531230
analogous
#125315 #125335 #125053
triadic
#125335 #351253 #533512
tetradic
#125335 #151253 #531230 #505312
square
#125335 #151253 #531230 #505312
split-complementary
#125335 #531250 #531512
monochromatic
#051910 #072115 #125335 #1D8555 #28B875

Accessibility & contrast

On white

9.07
#125335 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#125335 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125335
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125335#FFFFFF#000000##FFFFFF
##1253351.009.072.319.07
#FFFFFF9.071.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524C33
Deuteranopia (green-blind)
#4A4637
Tritanopia (blue-blind)
#00524B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #125335;
/* rgb */ color: rgb(18, 83, 53);
/* oklch */ color: oklch(39.4% 0.082 158.4);
Tailwind
colors: {
  custom: {
    50: '#5b846c',
    500: '#125335',
    950: '#000000',
  },
}
SCSS
$custom: #125335;
$custom-light: #5b846c;
$custom-dark: #000000;
JSON
{
  "hex": "#125335",
  "rgb": {
    "r": 18,
    "g": 83,
    "b": 53
  },
  "hsl": {
    "h": 152.308,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.39385,
    "c": 0.08195,
    "h": 158.4
  },
  "luminance": 0.06572
}

Semantic roles & 50–950 ramp

primary
#125335
secondary
#8C355D
accent
#408DE7
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B07
muted
#797C7A

Preview Lab

Preview with #125335

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

Preview Lab → · Contrast checker → · Palette generator →

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