#187830#187830

#187830 is a mid, vivid green. Relative luminance 0.138; OKLCH L 50.3% C 0.138 H 147.1°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#187830
RGBrgb(24, 120, 48)
HSLhsl(135, 67%, 28%)
HSVhsv(135, 80%, 47%)
CMYKcmyk(80%, 0%, 60%, 52.9%)
CIE-LABlab(44.00, -42.98, 31.52)
CIE-LCHlch(44.00, 53.30, 143.74°)
OKLaboklab(50.3% -0.1156 0.0748)
OKLCHoklch(50.3% 0.138 147.1)
XYZxyz(7.6261, 13.8396, 5.0651)
Luminance0.1384 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187830 #781860
analogous
#307818 #187830 #187860
triadic
#187830 #301878 #783018
tetradic
#187830 #183078 #781860 #786018
square
#187830 #183078 #781860 #786018
split-complementary
#187830 #601878 #781830
monochromatic
#051A0A #0E451C #187830 #22AB44 #34D65D

Accessibility & contrast

On white

5.57
#187830 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#187830 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187830
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187830#FFFFFF#000000##FFFFFF
##1878301.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6D29
Deuteranopia (green-blind)
#6F6536
Tritanopia (blue-blind)
#007568
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #187830;
/* rgb */ color: rgb(24, 120, 48);
/* oklch */ color: oklch(50.3% 0.138 147.1);
Tailwind
colors: {
  custom: {
    50: '#67a06b',
    500: '#187830',
    950: '#000000',
  },
}
SCSS
$custom: #187830;
$custom-light: #67a06b;
$custom-dark: #000000;
JSON
{
  "hex": "#187830",
  "rgb": {
    "r": 24,
    "g": 120,
    "b": 48
  },
  "hsl": {
    "h": 135,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50297,
    "c": 0.13772,
    "h": 147.1
  },
  "luminance": 0.13841
}

Semantic roles & 50–950 ramp

primary
#187830
secondary
#AD3F91
accent
#3EBFEA
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070F07
muted
#7A7E7A

Preview Lab

Preview with #187830

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

Preview Lab → · Contrast checker → · Palette generator →

#187830 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva