#237B18#237B18

#237B18 is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.2% C 0.155 H 141.6°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#237B18
RGBrgb(35, 123, 24)
HSLhsl(113, 67%, 29%)
HSVhsv(113, 80%, 48%)
CMYKcmyk(71.5%, 0%, 80.5%, 51.8%)
CIE-LABlab(45.07, -44.63, 43.17)
CIE-LCHlch(45.07, 62.10, 135.95°)
OKLaboklab(51.18% -0.1218 0.0966)
OKLCHoklch(51.18% 0.155 141.6)
XYZxyz(7.9405, 14.5883, 3.2613)
Luminance0.1459 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237B18 #70187B
analogous
#557B18 #237B18 #187B3F
triadic
#237B18 #18237B #7B1823
tetradic
#237B18 #18557B #70187B #7B3F18
square
#237B18 #18557B #70187B #7B3F18
split-complementary
#237B18 #3F187B #7B1855
monochromatic
#071A05 #14480E #237B18 #32AE22 #48D836

Accessibility & contrast

On white

5.36
#237B18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#237B18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #237B18
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237B18#FFFFFF#000000##FFFFFF
##237B181.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#746823
Tritanopia (blue-blind)
#0E7768
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #237b18;
/* rgb */ color: rgb(35, 123, 24);
/* oklch */ color: oklch(51.2% 0.155 141.6);
Tailwind
colors: {
  custom: {
    50: '#6ca25d',
    500: '#237b18',
    950: '#000000',
  },
}
SCSS
$custom: #237b18;
$custom-light: #6ca25d;
$custom-dark: #000000;
JSON
{
  "hex": "#237b18",
  "rgb": {
    "r": 35,
    "g": 123,
    "b": 24
  },
  "hsl": {
    "h": 113.333,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51178,
    "c": 0.15539,
    "h": 141.6
  },
  "luminance": 0.14589
}

Semantic roles & 50–950 ramp

primary
#237B18
secondary
#A33FB0
accent
#3EEAD7
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #237B18

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

Preview Lab → · Contrast checker → · Palette generator →

#237B18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva