#126330#126330

#126330 is a dark, moderate green. Relative luminance 0.093; OKLCH L 44.0% C 0.111 H 150.5°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#126330
RGBrgb(18, 99, 48)
HSLhsl(142, 69%, 23%)
HSVhsv(142, 82%, 39%)
CMYKcmyk(81.8%, 0%, 51.5%, 61.2%)
CIE-LABlab(36.49, -35.90, 22.35)
CIE-LCHlch(36.49, 42.29, 148.09°)
OKLaboklab(44.04% -0.0964 0.0545)
OKLCHoklch(44.04% 0.111 150.5)
XYZxyz(5.2443, 9.2651, 4.3077)
Luminance0.0927 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126330 #631245
analogous
#1C6312 #126330 #126358
triadic
#126330 #301263 #633012
tetradic
#126330 #121C63 #631245 #635812
square
#126330 #121C63 #631245 #635812
split-complementary
#126330 #581263 #63121C
monochromatic
#051A0D #092F17 #126330 #1B9749 #25CB62

Accessibility & contrast

On white

7.36
#126330 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#126330 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #126330
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126330#FFFFFF#000000##FFFFFF
##1263301.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645A2C
Deuteranopia (green-blind)
#5A5334
Tritanopia (blue-blind)
#006157
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #126330;
/* rgb */ color: rgb(18, 99, 48);
/* oklch */ color: oklch(44.0% 0.111 150.5);
Tailwind
colors: {
  custom: {
    50: '#5f9069',
    500: '#126330',
    950: '#000000',
  },
}
SCSS
$custom: #126330;
$custom-light: #5f9069;
$custom-dark: #000000;
JSON
{
  "hex": "#126330",
  "rgb": {
    "r": 18,
    "g": 99,
    "b": 48
  },
  "hsl": {
    "h": 142.222,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.44042,
    "c": 0.11077,
    "h": 150.5
  },
  "luminance": 0.09266
}

Semantic roles & 50–950 ramp

primary
#126330
secondary
#9B3676
accent
#3CABEC
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#050D06
muted
#7A7D7A

Preview Lab

Preview with #126330

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

Preview Lab → · Contrast checker → · Palette generator →

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