#126333#126333

#126333 is a dark, moderate green. Relative luminance 0.093; OKLCH L 44.1% C 0.108 H 151.8°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#126333
RGBrgb(18, 99, 51)
HSLhsl(144, 69%, 23%)
HSVhsv(144, 82%, 39%)
CMYKcmyk(81.8%, 0%, 48.5%, 61.2%)
CIE-LABlab(36.54, -35.33, 20.70)
CIE-LCHlch(36.54, 40.95, 149.64°)
OKLaboklab(44.1% -0.095 0.0508)
OKLCHoklch(44.1% 0.108 151.8)
XYZxyz(5.3084, 9.2907, 4.6448)
Luminance0.0929 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126333 #631242
analogous
#1A6312 #126333 #12635B
triadic
#126333 #331263 #633312
tetradic
#126333 #121A63 #631242 #635B12
square
#126333 #121A63 #631242 #635B12
split-complementary
#126333 #5B1263 #63121A
monochromatic
#051A0D #092F18 #126333 #1B974E #25CB68

Accessibility & contrast

On white

7.35
#126333 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#126333 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #126333
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126333#FFFFFF#000000##FFFFFF
##1263331.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635A2F
Deuteranopia (green-blind)
#5A5336
Tritanopia (blue-blind)
#006157
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #126333;
/* rgb */ color: rgb(18, 99, 51);
/* oklch */ color: oklch(44.1% 0.108 151.8);
Tailwind
colors: {
  custom: {
    50: '#5f906b',
    500: '#126333',
    950: '#000000',
  },
}
SCSS
$custom: #126333;
$custom-light: #5f906b;
$custom-dark: #000000;
JSON
{
  "hex": "#126333",
  "rgb": {
    "r": 18,
    "g": 99,
    "b": 51
  },
  "hsl": {
    "h": 144.444,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.44098,
    "c": 0.10773,
    "h": 151.8
  },
  "luminance": 0.09291
}

Semantic roles & 50–950 ramp

primary
#126333
secondary
#9B3672
accent
#3CA4EC
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050D07
muted
#797D7A

Preview Lab

Preview with #126333

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

Preview Lab → · Contrast checker → · Palette generator →

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