#126023#126023

#126023 is a dark, moderate green. Relative luminance 0.086; OKLCH L 42.9% C 0.119 H 146.4°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#126023
RGBrgb(18, 96, 35)
HSLhsl(133, 68%, 22%)
HSVhsv(133, 81%, 38%)
CMYKcmyk(81.3%, 0%, 63.5%, 62.4%)
CIE-LABlab(35.23, -36.85, 27.90)
CIE-LCHlch(35.23, 46.22, 142.86°)
OKLaboklab(42.94% -0.0992 0.0659)
OKLCHoklch(42.94% 0.119 146.4)
XYZxyz(4.7353, 8.6151, 3.0031)
Luminance0.0862 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126023 #60124F
analogous
#286012 #126023 #12604A
triadic
#126023 #231260 #602312
tetradic
#126023 #122860 #60124F #604A12
square
#126023 #122860 #60124F #604A12
split-complementary
#126023 #4A1260 #601228
monochromatic
#051A09 #082C10 #126023 #1C9436 #25C749

Accessibility & contrast

On white

7.71
#126023 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#126023 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #126023
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126023#FFFFFF#000000##FFFFFF
##1260231.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61571D
Deuteranopia (green-blind)
#595028
Tritanopia (blue-blind)
#005E53
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #126023;
/* rgb */ color: rgb(18, 96, 35);
/* oklch */ color: oklch(42.9% 0.119 146.4);
Tailwind
colors: {
  custom: {
    50: '#5f8e60',
    500: '#126023',
    950: '#000000',
  },
}
SCSS
$custom: #126023;
$custom-light: #5f8e60;
$custom-dark: #000000;
JSON
{
  "hex": "#126023",
  "rgb": {
    "r": 18,
    "g": 96,
    "b": 35
  },
  "hsl": {
    "h": 133.077,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.42943,
    "c": 0.1191,
    "h": 146.4
  },
  "luminance": 0.08616
}

Semantic roles & 50–950 ramp

primary
#126023
secondary
#983683
accent
#3DC5EB
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C05
muted
#797D79

Preview Lab

Preview with #126023

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

Preview Lab → · Contrast checker → · Palette generator →

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