#18751C#18751C

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

Color values

HEX#18751C
RGBrgb(24, 117, 28)
HSLhsl(123, 66%, 28%)
HSVhsv(123, 79%, 46%)
CMYKcmyk(79.5%, 0%, 76.1%, 54.1%)
CIE-LABlab(42.76, -44.23, 39.33)
CIE-LCHlch(42.76, 59.19, 138.36°)
OKLaboklab(49.21% -0.1199 0.0892)
OKLCHoklch(49.21% 0.149 143.4)
XYZxyz(6.9471, 12.9998, 3.2415)
Luminance0.1300 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18751C #751871
analogous
#427518 #18751C #18754B
triadic
#18751C #1C1875 #751C18
tetradic
#18751C #184275 #751871 #754B18
square
#18751C #184275 #751871 #754B18
split-complementary
#18751C #4B1875 #751842
monochromatic
#051906 #0E4210 #18751C #22A828 #32D539

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18751C#FFFFFF#000000##FFFFFF
##18751C1.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)
#78690C
Deuteranopia (green-blind)
#6D6225
Tritanopia (blue-blind)
#007164
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #18751c;
/* rgb */ color: rgb(24, 117, 28);
/* oklch */ color: oklch(49.2% 0.149 143.4);
Tailwind
colors: {
  custom: {
    50: '#679e5e',
    500: '#18751c',
    950: '#000000',
  },
}
SCSS
$custom: #18751c;
$custom-light: #679e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#18751c",
  "rgb": {
    "r": 24,
    "g": 117,
    "b": 28
  },
  "hsl": {
    "h": 122.581,
    "s": 65.957,
    "l": 27.647
  },
  "oklch": {
    "l": 0.49207,
    "c": 0.14941,
    "h": 143.4
  },
  "luminance": 0.13001
}

Semantic roles & 50–950 ramp

primary
#18751C
secondary
#AA3FA6
accent
#3FE2E9
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #18751C

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

Preview Lab → · Contrast checker → · Palette generator →

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