#126237#126237

#126237 is a dark, moderate green. Relative luminance 0.091; OKLCH L 43.9% C 0.102 H 154.1°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#126237
RGBrgb(18, 98, 55)
HSLhsl(148, 69%, 23%)
HSVhsv(148, 82%, 38%)
CMYKcmyk(81.6%, 0%, 43.9%, 61.6%)
CIE-LABlab(36.25, -34.12, 18.00)
CIE-LCHlch(36.25, 38.58, 152.19°)
OKLaboklab(43.88% -0.0919 0.0447)
OKLCHoklch(43.88% 0.102 154.1)
XYZxyz(5.3062, 9.1392, 5.0981)
Luminance0.0914 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126237 #62123D
analogous
#156212 #126237 #12625F
triadic
#126237 #371262 #623712
tetradic
#126237 #121562 #62123D #625F12
square
#126237 #121562 #62123D #625F12
split-complementary
#126237 #5F1262 #621215
monochromatic
#051A0F #092E1A #126237 #1B9654 #25C971

Accessibility & contrast

On white

7.43
#126237 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#126237 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #126237
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126237#FFFFFF#000000##FFFFFF
##1262371.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625934
Deuteranopia (green-blind)
#58533A
Tritanopia (blue-blind)
#006157
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #126237;
/* rgb */ color: rgb(18, 98, 55);
/* oklch */ color: oklch(43.9% 0.102 154.1);
Tailwind
colors: {
  custom: {
    50: '#5f8f6e',
    500: '#126237',
    950: '#000000',
  },
}
SCSS
$custom: #126237;
$custom-light: #5f8f6e;
$custom-dark: #000000;
JSON
{
  "hex": "#126237",
  "rgb": {
    "r": 18,
    "g": 98,
    "b": 55
  },
  "hsl": {
    "h": 147.75,
    "s": 68.966,
    "l": 22.745
  },
  "oklch": {
    "l": 0.43883,
    "c": 0.10219,
    "h": 154.1
  },
  "luminance": 0.0914
}

Semantic roles & 50–950 ramp

primary
#126237
secondary
#9A366C
accent
#3C9AEC
background
#F5F8F6
surface
#EAF0EC
border
#C6CBC7
text
#050C07
muted
#797D7A

Preview Lab

Preview with #126237

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

Preview Lab → · Contrast checker → · Palette generator →

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