#237F18#237F18

#237F18 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.3% C 0.160 H 141.7°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#237F18
RGBrgb(35, 127, 24)
HSLhsl(114, 68%, 30%)
HSVhsv(114, 81%, 50%)
CMYKcmyk(72.4%, 0%, 81.1%, 50.2%)
CIE-LABlab(46.45, -46.04, 44.50)
CIE-LCHlch(46.45, 64.03, 135.97°)
OKLaboklab(52.32% -0.1255 0.0993)
OKLCHoklch(52.32% 0.16 141.7)
XYZxyz(8.4469, 15.6011, 3.4301)
Luminance0.1560 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237F18 #74187F
analogous
#577F18 #237F18 #187F40
triadic
#237F18 #18237F #7F1823
tetradic
#237F18 #18577F #74187F #7F4018
square
#237F18 #18577F #74187F #7F4018
split-complementary
#237F18 #40187F #7F1857
monochromatic
#071A05 #154C0E #237F18 #31B222 #49D938

Accessibility & contrast

On white

5.10
#237F18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#237F18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #237F18
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237F18#FFFFFF#000000##FFFFFF
##237F181.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#786B24
Tritanopia (blue-blind)
#0A7B6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #237f18;
/* rgb */ color: rgb(35, 127, 24);
/* oklch */ color: oklch(52.3% 0.160 141.7);
Tailwind
colors: {
  custom: {
    50: '#6da55e',
    500: '#237f18',
    950: '#000000',
  },
}
SCSS
$custom: #237f18;
$custom-light: #6da55e;
$custom-dark: #000000;
JSON
{
  "hex": "#237f18",
  "rgb": {
    "r": 35,
    "g": 127,
    "b": 24
  },
  "hsl": {
    "h": 113.592,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52324,
    "c": 0.16009,
    "h": 141.7
  },
  "luminance": 0.15602
}

Semantic roles & 50–950 ramp

primary
#237F18
secondary
#A73FB3
accent
#3DEBD8
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #237F18

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

Preview Lab → · Contrast checker → · Palette generator →

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