#238518#238518

#238518 is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.0% C 0.167 H 141.7°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#238518
RGBrgb(35, 133, 24)
HSLhsl(114, 69%, 31%)
HSVhsv(114, 82%, 52%)
CMYKcmyk(73.7%, 0%, 82%, 47.8%)
CIE-LABlab(48.51, -48.10, 46.46)
CIE-LCHlch(48.51, 66.88, 135.99°)
OKLaboklab(54.04% -0.1311 0.1034)
OKLCHoklch(54.04% 0.167 141.7)
XYZxyz(9.2450, 17.1973, 3.6962)
Luminance0.1720 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238518 #7A1885
analogous
#598518 #238518 #188543
triadic
#238518 #182385 #851823
tetradic
#238518 #185985 #7A1885 #854318
square
#238518 #185985 #7A1885 #854318
split-complementary
#238518 #431885 #851859
monochromatic
#081D05 #15510F #238518 #31B921 #4CDC3C

Accessibility & contrast

On white

4.73
#238518 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#238518 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #238518
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238518#FFFFFF#000000##FFFFFF
##2385181.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#7D7025
Tritanopia (blue-blind)
#058171
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #238518;
/* rgb */ color: rgb(35, 133, 24);
/* oklch */ color: oklch(54.0% 0.167 141.7);
Tailwind
colors: {
  custom: {
    50: '#6fa95f',
    500: '#238518',
    950: '#000000',
  },
}
SCSS
$custom: #238518;
$custom-light: #6fa95f;
$custom-dark: #000000;
JSON
{
  "hex": "#238518",
  "rgb": {
    "r": 35,
    "g": 133,
    "b": 24
  },
  "hsl": {
    "h": 113.945,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54035,
    "c": 0.16701,
    "h": 141.7
  },
  "luminance": 0.17198
}

Semantic roles & 50–950 ramp

primary
#238518
secondary
#AD40B9
accent
#3CECDA
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #238518

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

Preview Lab → · Contrast checker → · Palette generator →

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