#18751A#18751A

#18751A is a mid, vivid green. Relative luminance 0.130; OKLCH L 49.2% C 0.151 H 143.1°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#18751A
RGBrgb(24, 117, 26)
HSLhsl(121, 66%, 28%)
HSVhsv(121, 79%, 46%)
CMYKcmyk(79.5%, 0%, 77.8%, 54.1%)
CIE-LABlab(42.75, -44.41, 40.09)
CIE-LCHlch(42.75, 59.83, 137.92°)
OKLaboklab(49.19% -0.1204 0.0905)
OKLCHoklch(49.19% 0.151 143.1)
XYZxyz(6.9240, 12.9905, 3.1196)
Luminance0.1299 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18751A #751873
analogous
#457518 #18751A #187548
triadic
#18751A #1A1875 #751A18
tetradic
#18751A #184575 #751873 #754818
square
#18751A #184575 #751873 #754818
split-complementary
#18751A #481875 #751845
monochromatic
#051906 #0E420F #18751A #22A825 #32D536

Accessibility & contrast

On white

5.84
#18751A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#18751A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #18751A
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18751A#FFFFFF#000000##FFFFFF
##18751A1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786907
Deuteranopia (green-blind)
#6D6224
Tritanopia (blue-blind)
#007164
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #18751a;
/* rgb */ color: rgb(24, 117, 26);
/* oklch */ color: oklch(49.2% 0.151 143.1);
Tailwind
colors: {
  custom: {
    50: '#679e5d',
    500: '#18751a',
    950: '#000000',
  },
}
SCSS
$custom: #18751a;
$custom-light: #679e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#18751a",
  "rgb": {
    "r": 24,
    "g": 117,
    "b": 26
  },
  "hsl": {
    "h": 121.29,
    "s": 65.957,
    "l": 27.647
  },
  "oklch": {
    "l": 0.49191,
    "c": 0.15065,
    "h": 143.1
  },
  "luminance": 0.12991
}

Semantic roles & 50–950 ramp

primary
#18751A
secondary
#AA3FA8
accent
#3FE5E9
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #18751A

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

Preview Lab → · Contrast checker → · Palette generator →

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