#126339#126339

#126339 is a dark, moderate green. Relative luminance 0.093; OKLCH L 44.2% C 0.102 H 154.8°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#126339
RGBrgb(18, 99, 57)
HSLhsl(149, 69%, 23%)
HSVhsv(149, 82%, 39%)
CMYKcmyk(81.8%, 0%, 42.4%, 61.2%)
CIE-LABlab(36.64, -34.12, 17.34)
CIE-LCHlch(36.64, 38.27, 153.05°)
OKLaboklab(44.22% -0.0919 0.0432)
OKLCHoklch(44.22% 0.102 154.8)
XYZxyz(5.4493, 9.3470, 5.3871)
Luminance0.0935 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126339 #63123C
analogous
#136312 #126339 #126361
triadic
#126339 #391263 #633912
tetradic
#126339 #121363 #63123C #636112
square
#126339 #121363 #63123C #636112
split-complementary
#126339 #611263 #631213
monochromatic
#051A0F #092F1B #126339 #1B9757 #25CB75

Accessibility & contrast

On white

7.32
#126339 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#126339 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #126339
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126339#FFFFFF#000000##FFFFFF
##1263391.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635A36
Deuteranopia (green-blind)
#59533C
Tritanopia (blue-blind)
#006258
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #126339;
/* rgb */ color: rgb(18, 99, 57);
/* oklch */ color: oklch(44.2% 0.102 154.8);
Tailwind
colors: {
  custom: {
    50: '#5f9070',
    500: '#126339',
    950: '#000000',
  },
}
SCSS
$custom: #126339;
$custom-light: #5f9070;
$custom-dark: #000000;
JSON
{
  "hex": "#126339",
  "rgb": {
    "r": 18,
    "g": 99,
    "b": 57
  },
  "hsl": {
    "h": 148.889,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.4422,
    "c": 0.10158,
    "h": 154.8
  },
  "luminance": 0.09348
}

Semantic roles & 50–950 ramp

primary
#126339
secondary
#9B366A
accent
#3C97EC
background
#F5F8F6
surface
#EAF0EC
border
#C6CBC7
text
#050D07
muted
#797D7A

Preview Lab

Preview with #126339

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

Preview Lab → · Contrast checker → · Palette generator →

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