#18662E#18662E

#18662E is a mid, moderate green. Relative luminance 0.099; OKLCH L 45.0% C 0.115 H 148.5°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#18662E
RGBrgb(24, 102, 46)
HSLhsl(137, 62%, 25%)
HSVhsv(137, 76%, 40%)
CMYKcmyk(76.5%, 0%, 54.9%, 60%)
CIE-LABlab(37.65, -36.45, 24.94)
CIE-LCHlch(37.65, 44.17, 145.62°)
OKLaboklab(45.03% -0.0981 0.0602)
OKLCHoklch(45.03% 0.115 148.5)
XYZxyz(5.6208, 9.8936, 4.1977)
Luminance0.0989 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18662E #661850
analogous
#296618 #18662E #186655
triadic
#18662E #2E1866 #662E18
tetradic
#18662E #182966 #661850 #665518
square
#18662E #182966 #661850 #665518
split-complementary
#18662E #551866 #661829
monochromatic
#06190B #0C3418 #18662E #249844 #2FC95B

Accessibility & contrast

On white

7.05
#18662E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#18662E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18662E
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18662E#FFFFFF#000000##FFFFFF
##18662E1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675C29
Deuteranopia (green-blind)
#5E5632
Tritanopia (blue-blind)
#006459
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #18662e;
/* rgb */ color: rgb(24, 102, 46);
/* oklch */ color: oklch(45.0% 0.115 148.5);
Tailwind
colors: {
  custom: {
    50: '#629268',
    500: '#18662e',
    950: '#000000',
  },
}
SCSS
$custom: #18662e;
$custom-light: #629268;
$custom-dark: #000000;
JSON
{
  "hex": "#18662e",
  "rgb": {
    "r": 24,
    "g": 102,
    "b": 46
  },
  "hsl": {
    "h": 136.923,
    "s": 61.905,
    "l": 24.706
  },
  "oklch": {
    "l": 0.45028,
    "c": 0.11509,
    "h": 148.5
  },
  "luminance": 0.09894
}

Semantic roles & 50–950 ramp

primary
#18662E
secondary
#9C3E81
accent
#43B7E5
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D06
muted
#7A7E7A

Preview Lab

Preview with #18662E

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

Preview Lab → · Contrast checker → · Palette generator →

#18662E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva