#126233#126233

#126233 is a dark, moderate green. Relative luminance 0.091; OKLCH L 43.8% C 0.106 H 152.1°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#126233
RGBrgb(18, 98, 51)
HSLhsl(145, 69%, 23%)
HSVhsv(145, 82%, 38%)
CMYKcmyk(81.6%, 0%, 48%, 61.6%)
CIE-LABlab(36.18, -34.93, 20.24)
CIE-LCHlch(36.18, 40.37, 149.91°)
OKLaboklab(43.8% -0.0939 0.0498)
OKLCHoklch(43.8% 0.106 152.1)
XYZxyz(5.2142, 9.1024, 4.6135)
Luminance0.0910 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126233 #621241
analogous
#196212 #126233 #12625B
triadic
#126233 #331262 #623312
tetradic
#126233 #121962 #621241 #625B12
square
#126233 #121962 #621241 #625B12
split-complementary
#126233 #5B1262 #621219
monochromatic
#051A0D #092E18 #126233 #1B964E #25C969

Accessibility & contrast

On white

7.45
#126233 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#126233 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #126233
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126233#FFFFFF#000000##FFFFFF
##1262331.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#62592F
Deuteranopia (green-blind)
#595236
Tritanopia (blue-blind)
#006057
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #126233;
/* rgb */ color: rgb(18, 98, 51);
/* oklch */ color: oklch(43.8% 0.106 152.1);
Tailwind
colors: {
  custom: {
    50: '#5f8f6b',
    500: '#126233',
    950: '#000000',
  },
}
SCSS
$custom: #126233;
$custom-light: #5f8f6b;
$custom-dark: #000000;
JSON
{
  "hex": "#126233",
  "rgb": {
    "r": 18,
    "g": 98,
    "b": 51
  },
  "hsl": {
    "h": 144.75,
    "s": 68.966,
    "l": 22.745
  },
  "oklch": {
    "l": 0.43802,
    "c": 0.10629,
    "h": 152.1
  },
  "luminance": 0.09103
}

Semantic roles & 50–950 ramp

primary
#126233
secondary
#9A3671
accent
#3CA3EC
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #126233

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

Preview Lab → · Contrast checker → · Palette generator →

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