#126833#126833

#126833 is a mid, moderate green. Relative luminance 0.103; OKLCH L 45.6% C 0.115 H 150.8°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#126833
RGBrgb(18, 104, 51)
HSLhsl(143, 70%, 24%)
HSVhsv(143, 83%, 41%)
CMYKcmyk(82.7%, 0%, 51%, 59.2%)
CIE-LABlab(38.32, -37.32, 22.96)
CIE-LCHlch(38.32, 43.82, 148.39°)
OKLaboklab(45.57% -0.1002 0.056)
OKLCHoklch(45.57% 0.115 150.8)
XYZxyz(5.7968, 10.2675, 4.8076)
Luminance0.1027 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126833 #681247
analogous
#1C6812 #126833 #12685E
triadic
#126833 #331268 #683312
tetradic
#126833 #121C68 #681247 #685E12
square
#126833 #121C68 #681247 #685E12
split-complementary
#126833 #5E1268 #68121C
monochromatic
#051A0D #093419 #126833 #1B9C4D #24D066

Accessibility & contrast

On white

6.88
#126833 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#126833 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126833
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126833#FFFFFF#000000##FFFFFF
##1268331.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695E2F
Deuteranopia (green-blind)
#5F5737
Tritanopia (blue-blind)
#00665B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #126833;
/* rgb */ color: rgb(18, 104, 51);
/* oklch */ color: oklch(45.6% 0.115 150.8);
Tailwind
colors: {
  custom: {
    50: '#60946b',
    500: '#126833',
    950: '#000000',
  },
}
SCSS
$custom: #126833;
$custom-light: #60946b;
$custom-dark: #000000;
JSON
{
  "hex": "#126833",
  "rgb": {
    "r": 18,
    "g": 104,
    "b": 51
  },
  "hsl": {
    "h": 143.023,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.45571,
    "c": 0.11482,
    "h": 150.8
  },
  "luminance": 0.10268
}

Semantic roles & 50–950 ramp

primary
#126833
secondary
#A03677
accent
#3BA9ED
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D07
muted
#7A7E7A

Preview Lab

Preview with #126833

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

Preview Lab → · Contrast checker → · Palette generator →

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