#18791B#18791B

#18791B is a mid, vivid green. Relative luminance 0.139; OKLCH L 50.4% C 0.155 H 143.2°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#18791B
RGBrgb(24, 121, 27)
HSLhsl(122, 67%, 28%)
HSVhsv(122, 80%, 47%)
CMYKcmyk(80.2%, 0%, 77.7%, 52.5%)
CIE-LABlab(44.16, -45.69, 41.12)
CIE-LCHlch(44.16, 61.47, 138.01°)
OKLaboklab(50.36% -0.1239 0.0928)
OKLCHoklch(50.36% 0.155 143.2)
XYZxyz(7.4114, 13.9472, 3.3382)
Luminance0.1395 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18791B #791876
analogous
#457918 #18791B #18794B
triadic
#18791B #1B1879 #791B18
tetradic
#18791B #184579 #791876 #794B18
square
#18791B #184579 #791876 #794B18
split-complementary
#18791B #4B1879 #791845
monochromatic
#051A06 #0E4610 #18791B #22AC26 #35D73A

Accessibility & contrast

On white

5.54
#18791B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#18791B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #18791B
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18791B#FFFFFF#000000##FFFFFF
##18791B1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D08
Deuteranopia (green-blind)
#716625
Tritanopia (blue-blind)
#007567
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #18791b;
/* rgb */ color: rgb(24, 121, 27);
/* oklch */ color: oklch(50.4% 0.155 143.2);
Tailwind
colors: {
  custom: {
    50: '#68a15e',
    500: '#18791b',
    950: '#000000',
  },
}
SCSS
$custom: #18791b;
$custom-light: #68a15e;
$custom-dark: #000000;
JSON
{
  "hex": "#18791b",
  "rgb": {
    "r": 24,
    "g": 121,
    "b": 27
  },
  "hsl": {
    "h": 121.856,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50363,
    "c": 0.15477,
    "h": 143.2
  },
  "luminance": 0.13948
}

Semantic roles & 50–950 ramp

primary
#18791B
secondary
#AE3FAA
accent
#3EE4EA
background
#F6FAF5
surface
#ECF3E9
border
#C7CDC5
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #18791B

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

Preview Lab → · Contrast checker → · Palette generator →

#18791B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva