#18751B#18751B

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

Color values

HEX#18751B
RGBrgb(24, 117, 27)
HSLhsl(122, 66%, 28%)
HSVhsv(122, 79%, 46%)
CMYKcmyk(79.5%, 0%, 76.9%, 54.1%)
CIE-LABlab(42.76, -44.32, 39.72)
CIE-LCHlch(42.76, 59.51, 138.14°)
OKLaboklab(49.2% -0.1202 0.0899)
OKLCHoklch(49.2% 0.15 143.2)
XYZxyz(6.9354, 12.9951, 3.1795)
Luminance0.1300 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18751B #751872
analogous
#447518 #18751B #187549
triadic
#18751B #1B1875 #751B18
tetradic
#18751B #184475 #751872 #754918
square
#18751B #184475 #751872 #754918
split-complementary
#18751B #491875 #751844
monochromatic
#051906 #0E420F #18751B #22A827 #32D538

Accessibility & contrast

On white

5.83
#18751B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #18751B
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18751B#FFFFFF#000000##FFFFFF
##18751B1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#78690A
Deuteranopia (green-blind)
#6D6225
Tritanopia (blue-blind)
#007164
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #18751b;
/* rgb */ color: rgb(24, 117, 27);
/* oklch */ color: oklch(49.2% 0.150 143.2);
Tailwind
colors: {
  custom: {
    50: '#679e5e',
    500: '#18751b',
    950: '#000000',
  },
}
SCSS
$custom: #18751b;
$custom-light: #679e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#18751b",
  "rgb": {
    "r": 24,
    "g": 117,
    "b": 27
  },
  "hsl": {
    "h": 121.935,
    "s": 65.957,
    "l": 27.647
  },
  "oklch": {
    "l": 0.49199,
    "c": 0.15004,
    "h": 143.2
  },
  "luminance": 0.12996
}

Semantic roles & 50–950 ramp

primary
#18751B
secondary
#AA3FA7
accent
#3FE3E9
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #18751B

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

Preview Lab → · Contrast checker → · Palette generator →

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