#237F2B#237F2B

#237F2B is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.5% C 0.148 H 144.3°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#237F2B
RGBrgb(35, 127, 43)
HSLhsl(125, 57%, 32%)
HSVhsv(125, 72%, 50%)
CMYKcmyk(72.4%, 0%, 66.1%, 50.2%)
CIE-LABlab(46.59, -44.30, 36.98)
CIE-LCHlch(46.59, 57.71, 140.14°)
OKLaboklab(52.49% -0.1199 0.0861)
OKLCHoklch(52.49% 0.148 144.3)
XYZxyz(8.7180, 15.7095, 4.8578)
Luminance0.1571 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237F2B #7F2377
analogous
#497F23 #237F2B #237F59
triadic
#237F2B #2B237F #7F2B23
tetradic
#237F2B #23497F #7F2377 #7F5923
square
#237F2B #23497F #7F2377 #7F5923
split-complementary
#237F2B #59237F #7F2349
monochromatic
#091F0B #164F1B #237F2B #30AF3B #4ECE59

Accessibility & contrast

On white

5.07
#237F2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#237F2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #237F2B
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237F2B#FFFFFF#000000##FFFFFF
##237F2B1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817321
Deuteranopia (green-blind)
#776C32
Tritanopia (blue-blind)
#027B6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #237f2b;
/* rgb */ color: rgb(35, 127, 43);
/* oklch */ color: oklch(52.5% 0.148 144.3);
Tailwind
colors: {
  custom: {
    50: '#6ca568',
    500: '#237f2b',
    950: '#000000',
  },
}
SCSS
$custom: #237f2b;
$custom-light: #6ca568;
$custom-dark: #000000;
JSON
{
  "hex": "#237f2b",
  "rgb": {
    "r": 35,
    "g": 127,
    "b": 43
  },
  "hsl": {
    "h": 125.217,
    "s": 56.79,
    "l": 31.765
  },
  "oklch": {
    "l": 0.5249,
    "c": 0.14756,
    "h": 144.3
  },
  "luminance": 0.1571
}

Semantic roles & 50–950 ramp

primary
#237F2B
secondary
#B14CA9
accent
#48D3E0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #237F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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