#237B1B#237B1B

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

Color values

HEX#237B1B
RGBrgb(35, 123, 27)
HSLhsl(115, 64%, 29%)
HSVhsv(115, 78%, 48%)
CMYKcmyk(71.5%, 0%, 78%, 51.8%)
CIE-LABlab(45.08, -44.41, 42.12)
CIE-LCHlch(45.08, 61.21, 136.52°)
OKLaboklab(51.2% -0.121 0.0948)
OKLCHoklch(51.2% 0.154 141.9)
XYZxyz(7.9735, 14.6015, 3.4349)
Luminance0.1460 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237B1B #731B7B
analogous
#537B1B #237B1B #1B7B43
triadic
#237B1B #1B237B #7B1B23
tetradic
#237B1B #1B537B #731B7B #7B431B
square
#237B1B #1B537B #731B7B #7B431B
split-complementary
#237B1B #431B7B #7B1B53
monochromatic
#071906 #154910 #237B1B #31AD26 #49D43C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##237B1B#FFFFFF#000000##FFFFFF
##237B1B1.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)
#7E6F06
Deuteranopia (green-blind)
#746825
Tritanopia (blue-blind)
#0D7769
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #237b1b;
/* rgb */ color: rgb(35, 123, 27);
/* oklch */ color: oklch(51.2% 0.154 141.9);
Tailwind
colors: {
  custom: {
    50: '#6ca25f',
    500: '#237b1b',
    950: '#000000',
  },
}
SCSS
$custom: #237b1b;
$custom-light: #6ca25f;
$custom-dark: #000000;
JSON
{
  "hex": "#237b1b",
  "rgb": {
    "r": 35,
    "g": 123,
    "b": 27
  },
  "hsl": {
    "h": 115,
    "s": 64,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51199,
    "c": 0.15371,
    "h": 141.9
  },
  "luminance": 0.14602
}

Semantic roles & 50–950 ramp

primary
#237B1B
secondary
#A643AF
accent
#41E7D9
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #237B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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