#125233#125233

#125233 is a dark, moderate teal. Relative luminance 0.064; OKLCH L 39.0% C 0.083 H 157.3°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#125233
RGBrgb(18, 82, 51)
HSLhsl(151, 64%, 20%)
HSVhsv(151, 78%, 32%)
CMYKcmyk(78%, 0%, 37.8%, 67.8%)
CIE-LABlab(30.40, -28.10, 12.63)
CIE-LCHlch(30.40, 30.80, 155.80°)
OKLaboklab(39.04% -0.0761 0.0318)
OKLCHoklch(39.04% 0.083 157.3)
XYZxyz(3.8639, 6.4018, 4.1634)
Luminance0.0640 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125233 #521231
analogous
#125213 #125233 #125152
triadic
#125233 #331252 #523312
tetradic
#125233 #131252 #521231 #515212
square
#125233 #131252 #521231 #515212
split-complementary
#125233 #521251 #521312
monochromatic
#061910 #072014 #125233 #1D8452 #28B671

Accessibility & contrast

On white

9.21
#125233 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#125233 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125233
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125233#FFFFFF#000000##FFFFFF
##1252331.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514B31
Deuteranopia (green-blind)
#494535
Tritanopia (blue-blind)
#00514A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #125233;
/* rgb */ color: rgb(18, 82, 51);
/* oklch */ color: oklch(39.0% 0.083 157.3);
Tailwind
colors: {
  custom: {
    50: '#5a836b',
    500: '#125233',
    950: '#000000',
  },
}
SCSS
$custom: #125233;
$custom-light: #5a836b;
$custom-dark: #000000;
JSON
{
  "hex": "#125233",
  "rgb": {
    "r": 18,
    "g": 82,
    "b": 51
  },
  "hsl": {
    "h": 150.938,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.39036,
    "c": 0.0825,
    "h": 157.3
  },
  "luminance": 0.06402
}

Semantic roles & 50–950 ramp

primary
#125233
secondary
#8B355F
accent
#4191E7
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B06
muted
#797C7A

Preview Lab

Preview with #125233

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

Preview Lab → · Contrast checker → · Palette generator →

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