#237E1B#237E1B

#237E1B is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.1% C 0.157 H 142.0°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#237E1B
RGBrgb(35, 126, 27)
HSLhsl(115, 65%, 30%)
HSVhsv(115, 79%, 49%)
CMYKcmyk(72.2%, 0%, 78.6%, 50.6%)
CIE-LABlab(46.12, -45.47, 43.15)
CIE-LCHlch(46.12, 62.68, 136.50°)
OKLaboklab(52.06% -0.1239 0.0969)
OKLCHoklch(52.06% 0.157 142)
XYZxyz(8.3513, 15.3573, 3.5608)
Luminance0.1536 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237E1B #761B7E
analogous
#547E1B #237E1B #1B7E45
triadic
#237E1B #1B237E #7E1B23
tetradic
#237E1B #1B547E #761B7E #7E451B
square
#237E1B #1B547E #761B7E #7E451B
split-complementary
#237E1B #451B7E #7E1B54
monochromatic
#071905 #154C10 #237E1B #31B026 #4AD63E

Accessibility & contrast

On white

5.16
#237E1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#237E1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #237E1B
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237E1B#FFFFFF#000000##FFFFFF
##237E1B1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817205
Deuteranopia (green-blind)
#776A26
Tritanopia (blue-blind)
#0A7A6B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #237e1b;
/* rgb */ color: rgb(35, 126, 27);
/* oklch */ color: oklch(52.1% 0.157 142.0);
Tailwind
colors: {
  custom: {
    50: '#6da45f',
    500: '#237e1b',
    950: '#000000',
  },
}
SCSS
$custom: #237e1b;
$custom-light: #6da45f;
$custom-dark: #000000;
JSON
{
  "hex": "#237e1b",
  "rgb": {
    "r": 35,
    "g": 126,
    "b": 27
  },
  "hsl": {
    "h": 115.152,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.52059,
    "c": 0.15729,
    "h": 142
  },
  "luminance": 0.15358
}

Semantic roles & 50–950 ramp

primary
#237E1B
secondary
#A943B2
accent
#40E8DA
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #237E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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