#237312#237312

#237312 is a mid, vivid green. Relative luminance 0.127; OKLCH L 48.8% C 0.149 H 140.8°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#237312
RGBrgb(35, 115, 18)
HSLhsl(109, 73%, 26%)
HSVhsv(109, 84%, 45%)
CMYKcmyk(69.6%, 0%, 84.3%, 54.9%)
CIE-LABlab(42.25, -42.16, 42.46)
CIE-LCHlch(42.25, 59.84, 134.80°)
OKLaboklab(48.83% -0.1154 0.0942)
OKLCHoklch(48.83% 0.149 140.8)
XYZxyz(6.9327, 12.6618, 2.6508)
Luminance0.1266 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237312 #621273
analogous
#537312 #237312 #127332
triadic
#237312 #122373 #731223
tetradic
#237312 #125373 #621273 #733212
square
#237312 #125373 #621273 #733212
split-complementary
#237312 #321273 #731253
monochromatic
#081A04 #133E0A #237312 #33A81A #43DD23

Accessibility & contrast

On white

5.94
#237312 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#237312 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #237312
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237312#FFFFFF#000000##FFFFFF
##2373121.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766800
Deuteranopia (green-blind)
#6D611E
Tritanopia (blue-blind)
#146F61
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #237312;
/* rgb */ color: rgb(35, 115, 18);
/* oklch */ color: oklch(48.8% 0.149 140.8);
Tailwind
colors: {
  custom: {
    50: '#6b9c59',
    500: '#237312',
    950: '#000000',
  },
}
SCSS
$custom: #237312;
$custom-light: #6b9c59;
$custom-dark: #000000;
JSON
{
  "hex": "#237312",
  "rgb": {
    "r": 35,
    "g": 115,
    "b": 18
  },
  "hsl": {
    "h": 109.485,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.48832,
    "c": 0.14895,
    "h": 140.8
  },
  "luminance": 0.12662
}

Semantic roles & 50–950 ramp

primary
#237312
secondary
#9637AA
accent
#38F0CF
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #237312

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

Preview Lab → · Contrast checker → · Palette generator →

#237312 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva