#125A35#125A35

#125A35 is a dark, moderate green. Relative luminance 0.077; OKLCH L 41.5% C 0.092 H 155.5°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#125A35
RGBrgb(18, 90, 53)
HSLhsl(149, 67%, 21%)
HSVhsv(149, 80%, 35%)
CMYKcmyk(80%, 0%, 41.1%, 64.7%)
CIE-LABlab(33.34, -31.17, 15.35)
CIE-LCHlch(33.34, 34.75, 153.78°)
OKLaboklab(41.47% -0.0841 0.0384)
OKLCHoklch(41.47% 0.092 155.5)
XYZxyz(4.5478, 7.6974, 4.6135)
Luminance0.0770 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125A35 #5A1237
analogous
#135A12 #125A35 #125A59
triadic
#125A35 #35125A #5A3512
tetradic
#125A35 #12135A #5A1237 #5A5912
square
#125A35 #12135A #5A1237 #5A5912
split-complementary
#125A35 #59125A #5A1213
monochromatic
#051A0F #082717 #125A35 #1C8D53 #26C071

Accessibility & contrast

On white

8.27
#125A35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#125A35 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125A35
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125A35#FFFFFF#000000##FFFFFF
##125A351.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5233
Deuteranopia (green-blind)
#514C37
Tritanopia (blue-blind)
#005951
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #125a35;
/* rgb */ color: rgb(18, 90, 53);
/* oklch */ color: oklch(41.5% 0.092 155.5);
Tailwind
colors: {
  custom: {
    50: '#5d896c',
    500: '#125a35',
    950: '#000000',
  },
}
SCSS
$custom: #125a35;
$custom-light: #5d896c;
$custom-dark: #000000;
JSON
{
  "hex": "#125a35",
  "rgb": {
    "r": 18,
    "g": 90,
    "b": 53
  },
  "hsl": {
    "h": 149.167,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.41472,
    "c": 0.09249,
    "h": 155.5
  },
  "luminance": 0.07698
}

Semantic roles & 50–950 ramp

primary
#125A35
secondary
#933565
accent
#3E96EA
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050B07
muted
#797C7A

Preview Lab

Preview with #125A35

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

Preview Lab → · Contrast checker → · Palette generator →

#125A35 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva