#238918#238918

#238918 is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.2% C 0.172 H 141.8°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#238918
RGBrgb(35, 137, 24)
HSLhsl(114, 70%, 32%)
HSVhsv(114, 82%, 54%)
CMYKcmyk(74.5%, 0%, 82.5%, 46.3%)
CIE-LABlab(49.87, -49.46, 47.75)
CIE-LCHlch(49.87, 68.75, 136.01°)
OKLaboklab(55.17% -0.1348 0.1061)
OKLCHoklch(55.17% 0.172 141.8)
XYZxyz(9.8031, 18.3135, 3.8822)
Luminance0.1832 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238918 #7E1889
analogous
#5C8918 #238918 #188946
triadic
#238918 #182389 #891823
tetradic
#238918 #185C89 #7E1889 #894618
square
#238918 #185C89 #7E1889 #894618
split-complementary
#238918 #461889 #89185C
monochromatic
#082106 #16550F #238918 #30BD21 #4EDD3E

Accessibility & contrast

On white

4.50
#238918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#238918 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238918
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238918#FFFFFF#000000##000000
##2389181.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#817426
Tritanopia (blue-blind)
#018574
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #238918;
/* rgb */ color: rgb(35, 137, 24);
/* oklch */ color: oklch(55.2% 0.172 141.8);
Tailwind
colors: {
  custom: {
    50: '#70ac5f',
    500: '#238918',
    950: '#000000',
  },
}
SCSS
$custom: #238918;
$custom-light: #70ac5f;
$custom-dark: #000000;
JSON
{
  "hex": "#238918",
  "rgb": {
    "r": 35,
    "g": 137,
    "b": 24
  },
  "hsl": {
    "h": 114.159,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.5517,
    "c": 0.17154,
    "h": 141.8
  },
  "luminance": 0.18315
}

Semantic roles & 50–950 ramp

primary
#238918
secondary
#B040BD
accent
#3BEDDC
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #238918

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

Preview Lab → · Contrast checker → · Palette generator →

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