#237E12#237E12

#237E12 is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.0% C 0.162 H 141.1°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#237E12
RGBrgb(35, 126, 18)
HSLhsl(111, 75%, 28%)
HSVhsv(111, 86%, 49%)
CMYKcmyk(72.2%, 0%, 85.7%, 50.6%)
CIE-LABlab(46.07, -46.06, 45.99)
CIE-LCHlch(46.07, 65.09, 135.04°)
OKLaboklab(52% -0.1259 0.1016)
OKLCHoklch(52% 0.162 141.1)
XYZxyz(8.2627, 15.3218, 3.0941)
Luminance0.1532 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237E12 #6D127E
analogous
#597E12 #237E12 #127E37
triadic
#237E12 #12237E #7E1223
tetradic
#237E12 #12597E #6D127E #7E3712
square
#237E12 #12597E #6D127E #7E3712
split-complementary
#237E12 #37127E #7E1259
monochromatic
#071B04 #14480A #237E12 #32B41A #47E12A

Accessibility & contrast

On white

5.17
#237E12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#237E12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #237E12
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237E12#FFFFFF#000000##FFFFFF
##237E121.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#776A20
Tritanopia (blue-blind)
#0D7A6B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #237e12;
/* rgb */ color: rgb(35, 126, 18);
/* oklch */ color: oklch(52.0% 0.162 141.1);
Tailwind
colors: {
  custom: {
    50: '#6da45b',
    500: '#237e12',
    950: '#000000',
  },
}
SCSS
$custom: #237e12;
$custom-light: #6da45b;
$custom-dark: #000000;
JSON
{
  "hex": "#237e12",
  "rgb": {
    "r": 35,
    "g": 126,
    "b": 18
  },
  "hsl": {
    "h": 110.556,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.52004,
    "c": 0.16173,
    "h": 141.1
  },
  "luminance": 0.15323
}

Semantic roles & 50–950 ramp

primary
#237E12
secondary
#A038B4
accent
#36F2D4
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F04
muted
#7B7F79

Preview Lab

Preview with #237E12

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

Preview Lab → · Contrast checker → · Palette generator →

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