#125733#125733

#125733 is a dark, moderate green. Relative luminance 0.072; OKLCH L 40.5% C 0.090 H 155.3°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#125733
RGBrgb(18, 87, 51)
HSLhsl(149, 66%, 21%)
HSVhsv(149, 79%, 34%)
CMYKcmyk(79.3%, 0%, 41.4%, 65.9%)
CIE-LABlab(32.22, -30.31, 15.07)
CIE-LCHlch(32.22, 33.85, 153.57°)
OKLaboklab(40.53% -0.0819 0.0377)
OKLCHoklch(40.53% 0.09 155.3)
XYZxyz(4.2548, 7.1835, 4.2936)
Luminance0.0718 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125733 #571236
analogous
#135712 #125733 #125755
triadic
#125733 #331257 #573312
tetradic
#125733 #121357 #571236 #575512
square
#125733 #121357 #571236 #575512
split-complementary
#125733 #551257 #571213
monochromatic
#05190F #082415 #125733 #1C8A51 #27BC6E

Accessibility & contrast

On white

8.62
#125733 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#125733 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125733
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125733#FFFFFF#000000##FFFFFF
##1257331.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574F31
Deuteranopia (green-blind)
#4E4935
Tritanopia (blue-blind)
#00564E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #125733;
/* rgb */ color: rgb(18, 87, 51);
/* oklch */ color: oklch(40.5% 0.090 155.3);
Tailwind
colors: {
  custom: {
    50: '#5c876b',
    500: '#125733',
    950: '#000000',
  },
}
SCSS
$custom: #125733;
$custom-light: #5c876b;
$custom-dark: #000000;
JSON
{
  "hex": "#125733",
  "rgb": {
    "r": 18,
    "g": 87,
    "b": 51
  },
  "hsl": {
    "h": 148.696,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.40533,
    "c": 0.09009,
    "h": 155.3
  },
  "luminance": 0.07184
}

Semantic roles & 50–950 ramp

primary
#125733
secondary
#903564
accent
#3F98E9
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B06
muted
#797C7A

Preview Lab

Preview with #125733

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

Preview Lab → · Contrast checker → · Palette generator →

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