#18762A#18762A

#18762A is a mid, vivid green. Relative luminance 0.133; OKLCH L 49.6% C 0.140 H 145.8°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#18762A
RGBrgb(24, 118, 42)
HSLhsl(131, 66%, 28%)
HSVhsv(131, 80%, 46%)
CMYKcmyk(79.7%, 0%, 64.4%, 53.7%)
CIE-LABlab(43.24, -43.07, 33.62)
CIE-LCHlch(43.24, 54.64, 142.02°)
OKLaboklab(49.64% -0.1161 0.0788)
OKLCHoklch(49.64% 0.14 145.8)
XYZxyz(7.2725, 13.3174, 4.3773)
Luminance0.1332 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18762A #761864
analogous
#357618 #18762A #187659
triadic
#18762A #2A1876 #762A18
tetradic
#18762A #183576 #761864 #765918
square
#18762A #183576 #761864 #765918
split-complementary
#18762A #591876 #761835
monochromatic
#051909 #0E4318 #18762A #22A93C #33D552

Accessibility & contrast

On white

5.73
#18762A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#18762A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #18762A
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18762A#FFFFFF#000000##FFFFFF
##18762A1.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786B22
Deuteranopia (green-blind)
#6D6330
Tritanopia (blue-blind)
#007366
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #18762a;
/* rgb */ color: rgb(24, 118, 42);
/* oklch */ color: oklch(49.6% 0.140 145.8);
Tailwind
colors: {
  custom: {
    50: '#669e67',
    500: '#18762a',
    950: '#000000',
  },
}
SCSS
$custom: #18762a;
$custom-light: #669e67;
$custom-dark: #000000;
JSON
{
  "hex": "#18762a",
  "rgb": {
    "r": 24,
    "g": 118,
    "b": 42
  },
  "hsl": {
    "h": 131.489,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.49641,
    "c": 0.1403,
    "h": 145.8
  },
  "luminance": 0.13318
}

Semantic roles & 50–950 ramp

primary
#18762A
secondary
#AB3F96
accent
#3FC8E9
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #18762A

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

Preview Lab → · Contrast checker → · Palette generator →

#18762A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva