#187333#187333

#187333 is a mid, vivid green. Relative luminance 0.127; OKLCH L 48.9% C 0.128 H 148.4°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#187333
RGBrgb(24, 115, 51)
HSLhsl(138, 65%, 27%)
HSVhsv(138, 79%, 45%)
CMYKcmyk(79.1%, 0%, 55.7%, 54.9%)
CIE-LABlab(42.30, -40.67, 27.92)
CIE-LCHlch(42.30, 49.33, 145.53°)
OKLaboklab(48.9% -0.1093 0.0671)
OKLCHoklch(48.9% 0.128 148.4)
XYZxyz(7.1044, 12.6938, 5.2071)
Luminance0.1270 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187333 #731858
analogous
#2B7318 #187333 #187361
triadic
#187333 #331873 #733318
tetradic
#187333 #182B73 #731858 #736118
square
#187333 #182B73 #731858 #736118
split-complementary
#187333 #611873 #73182B
monochromatic
#05190B #0D401D #187333 #23A649 #31D462

Accessibility & contrast

On white

5.93
#187333 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#187333 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187333
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187333#FFFFFF#000000##FFFFFF
##1873331.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74682D
Deuteranopia (green-blind)
#6A6138
Tritanopia (blue-blind)
#007164
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #187333;
/* rgb */ color: rgb(24, 115, 51);
/* oklch */ color: oklch(48.9% 0.128 148.4);
Tailwind
colors: {
  custom: {
    50: '#659c6c',
    500: '#187333',
    950: '#000000',
  },
}
SCSS
$custom: #187333;
$custom-light: #659c6c;
$custom-dark: #000000;
JSON
{
  "hex": "#187333",
  "rgb": {
    "r": 24,
    "g": 115,
    "b": 51
  },
  "hsl": {
    "h": 137.802,
    "s": 65.468,
    "l": 27.255
  },
  "oklch": {
    "l": 0.48897,
    "c": 0.1283,
    "h": 148.4
  },
  "luminance": 0.12695
}

Semantic roles & 50–950 ramp

primary
#187333
secondary
#A83F89
accent
#3FB6E8
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E07
muted
#7A7E7A

Preview Lab

Preview with #187333

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

Preview Lab → · Contrast checker → · Palette generator →

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