#127245#127245

#127245 is a mid, moderate teal. Relative luminance 0.126; OKLCH L 48.8% C 0.111 H 156.5°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#127245
RGBrgb(18, 114, 69)
HSLhsl(152, 73%, 26%)
HSVhsv(152, 84%, 45%)
CMYKcmyk(84.2%, 0%, 39.5%, 55.3%)
CIE-LABlab(42.14, -37.69, 17.64)
CIE-LCHlch(42.14, 41.61, 154.92°)
OKLaboklab(48.83% -0.1017 0.0442)
OKLCHoklch(48.83% 0.111 156.5)
XYZxyz(7.3402, 12.5920, 7.6727)
Luminance0.1259 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127245 #72123F
analogous
#127215 #127245 #126F72
triadic
#127245 #451272 #724512
tetradic
#127245 #151272 #72123F #6F7212
square
#127245 #151272 #72123F #6F7212
split-complementary
#127245 #72126F #721512
monochromatic
#041A10 #0A3D25 #127245 #1AA765 #23DC85

Accessibility & contrast

On white

5.97
#127245 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#127245 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127245
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127245#FFFFFF#000000##FFFFFF
##1272451.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716842
Deuteranopia (green-blind)
#666048
Tritanopia (blue-blind)
#007167
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #127245;
/* rgb */ color: rgb(18, 114, 69);
/* oklch */ color: oklch(48.8% 0.111 156.5);
Tailwind
colors: {
  custom: {
    50: '#639b79',
    500: '#127245',
    950: '#000000',
  },
}
SCSS
$custom: #127245;
$custom-light: #639b79;
$custom-dark: #000000;
JSON
{
  "hex": "#127245",
  "rgb": {
    "r": 18,
    "g": 114,
    "b": 69
  },
  "hsl": {
    "h": 151.875,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.48834,
    "c": 0.11085,
    "h": 156.5
  },
  "luminance": 0.12593
}

Semantic roles & 50–950 ramp

primary
#127245
secondary
#A9376C
accent
#388EEF
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060E09
muted
#7A7E7B

Preview Lab

Preview with #127245

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

Preview Lab → · Contrast checker → · Palette generator →

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