#187F23#187F23

#187F23 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.2% C 0.157 H 144.1°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#187F23
RGBrgb(24, 127, 35)
HSLhsl(126, 68%, 30%)
HSVhsv(126, 81%, 50%)
CMYKcmyk(81.1%, 0%, 72.4%, 50.2%)
CIE-LABlab(46.30, -46.99, 40.14)
CIE-LCHlch(46.30, 61.80, 139.50°)
OKLaboklab(52.16% -0.127 0.0918)
OKLCHoklch(52.16% 0.157 144.1)
XYZxyz(8.2689, 15.4933, 4.1445)
Luminance0.1549 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187F23 #7F1874
analogous
#407F18 #187F23 #187F57
triadic
#187F23 #23187F #7F2318
tetradic
#187F23 #18407F #7F1874 #7F5718
square
#187F23 #18407F #7F1874 #7F5718
split-complementary
#187F23 #57187F #7F1840
monochromatic
#051A07 #0E4C15 #187F23 #22B231 #38D949

Accessibility & contrast

On white

5.12
#187F23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#187F23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187F23
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187F23#FFFFFF#000000##FFFFFF
##187F231.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817215
Deuteranopia (green-blind)
#766B2C
Tritanopia (blue-blind)
#007B6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #187f23;
/* rgb */ color: rgb(24, 127, 35);
/* oklch */ color: oklch(52.2% 0.157 144.1);
Tailwind
colors: {
  custom: {
    50: '#69a563',
    500: '#187f23',
    950: '#000000',
  },
}
SCSS
$custom: #187f23;
$custom-light: #69a563;
$custom-dark: #000000;
JSON
{
  "hex": "#187f23",
  "rgb": {
    "r": 24,
    "g": 127,
    "b": 35
  },
  "hsl": {
    "h": 126.408,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52165,
    "c": 0.15675,
    "h": 144.1
  },
  "luminance": 0.15494
}

Semantic roles & 50–950 ramp

primary
#187F23
secondary
#B33FA7
accent
#3DD8EB
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #187F23

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

Preview Lab → · Contrast checker → · Palette generator →

#187F23 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva