#238F18#238F18

#238F18 is a mid, vivid green. Relative luminance 0.201; OKLCH L 56.9% C 0.178 H 141.9°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#238F18
RGBrgb(35, 143, 24)
HSLhsl(114, 71%, 33%)
HSVhsv(114, 83%, 56%)
CMYKcmyk(75.5%, 0%, 83.2%, 43.9%)
CIE-LABlab(51.91, -51.45, 49.65)
CIE-LCHlch(51.91, 71.50, 136.02°)
OKLaboklab(56.87% -0.1402 0.1101)
OKLCHoklch(56.87% 0.178 141.9)
XYZxyz(10.6798, 20.0670, 4.1744)
Luminance0.2007 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238F18 #84188F
analogous
#5E8F18 #238F18 #188F49
triadic
#238F18 #18238F #8F1823
tetradic
#238F18 #185E8F #84188F #8F4918
square
#238F18 #185E8F #84188F #8F4918
split-complementary
#238F18 #49188F #8F185E
monochromatic
#092606 #165B0F #238F18 #30C321 #51DF42

Accessibility & contrast

On white

4.19
#238F18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#238F18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238F18
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238F18#FFFFFF#000000##000000
##238F181.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#877927
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #238f18;
/* rgb */ color: rgb(35, 143, 24);
/* oklch */ color: oklch(56.9% 0.178 141.9);
Tailwind
colors: {
  custom: {
    50: '#71b160',
    500: '#238f18',
    950: '#000000',
  },
}
SCSS
$custom: #238f18;
$custom-light: #71b160;
$custom-dark: #000000;
JSON
{
  "hex": "#238f18",
  "rgb": {
    "r": 35,
    "g": 143,
    "b": 24
  },
  "hsl": {
    "h": 114.454,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56865,
    "c": 0.17824,
    "h": 141.9
  },
  "luminance": 0.20068
}

Semantic roles & 50–950 ramp

primary
#238F18
secondary
#B443C0
accent
#3AEEDD
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091105
muted
#7B807A

Preview Lab

Preview with #238F18

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

Preview Lab → · Contrast checker → · Palette generator →

#238F18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva