#238727#238727

#238727 is a mid, vivid green. Relative luminance 0.178; OKLCH L 54.7% C 0.160 H 143.5°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#238727
RGBrgb(35, 135, 39)
HSLhsl(122, 59%, 33%)
HSVhsv(122, 74%, 53%)
CMYKcmyk(74.1%, 0%, 71.1%, 47.1%)
CIE-LABlab(49.29, -47.58, 41.68)
CIE-LCHlch(49.29, 63.26, 138.78°)
OKLaboklab(54.72% -0.129 0.0955)
OKLCHoklch(54.72% 0.16 143.5)
XYZxyz(9.7227, 17.8307, 4.8483)
Luminance0.1783 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238727 #872383
analogous
#518723 #238727 #238759
triadic
#238727 #272387 #872723
tetradic
#238727 #235187 #872383 #875923
square
#238727 #235187 #872383 #875923
split-complementary
#238727 #592387 #872351
monochromatic
#0A260B #165619 #238727 #30B835 #52D257

Accessibility & contrast

On white

4.60
#238727 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#238727 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #238727
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238727#FFFFFF#000000##FFFFFF
##2387271.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A19
Deuteranopia (green-blind)
#7E7230
Tritanopia (blue-blind)
#008374
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #238727;
/* rgb */ color: rgb(35, 135, 39);
/* oklch */ color: oklch(54.7% 0.160 143.5);
Tailwind
colors: {
  custom: {
    50: '#6eab67',
    500: '#238727',
    950: '#000000',
  },
}
SCSS
$custom: #238727;
$custom-light: #6eab67;
$custom-dark: #000000;
JSON
{
  "hex": "#238727",
  "rgb": {
    "r": 35,
    "g": 135,
    "b": 39
  },
  "hsl": {
    "h": 122.4,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.54717,
    "c": 0.16048,
    "h": 143.5
  },
  "luminance": 0.17832
}

Semantic roles & 50–950 ramp

primary
#238727
secondary
#B650B2
accent
#46DCE2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #238727

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

Preview Lab → · Contrast checker → · Palette generator →

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