#237D1B#237D1B

#237D1B is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.8% C 0.156 H 141.9°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#237D1B
RGBrgb(35, 125, 27)
HSLhsl(115, 64%, 30%)
HSVhsv(115, 78%, 49%)
CMYKcmyk(72%, 0%, 78.4%, 51%)
CIE-LABlab(45.77, -45.12, 42.81)
CIE-LCHlch(45.77, 62.19, 136.51°)
OKLaboklab(51.77% -0.1229 0.0962)
OKLCHoklch(51.77% 0.156 141.9)
XYZxyz(8.2241, 15.1028, 3.5184)
Luminance0.1510 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237D1B #751B7D
analogous
#547D1B #237D1B #1B7D44
triadic
#237D1B #1B237D #7D1B23
tetradic
#237D1B #1B547D #751B7D #7D441B
square
#237D1B #1B547D #751B7D #7D441B
split-complementary
#237D1B #441B7D #7D1B54
monochromatic
#071905 #154B10 #237D1B #31AF26 #4AD53D

Accessibility & contrast

On white

5.22
#237D1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#237D1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #237D1B
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237D1B#FFFFFF#000000##FFFFFF
##237D1B1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807105
Deuteranopia (green-blind)
#766A26
Tritanopia (blue-blind)
#0B796A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #237d1b;
/* rgb */ color: rgb(35, 125, 27);
/* oklch */ color: oklch(51.8% 0.156 141.9);
Tailwind
colors: {
  custom: {
    50: '#6da45f',
    500: '#237d1b',
    950: '#000000',
  },
}
SCSS
$custom: #237d1b;
$custom-light: #6da45f;
$custom-dark: #000000;
JSON
{
  "hex": "#237d1b",
  "rgb": {
    "r": 35,
    "g": 125,
    "b": 27
  },
  "hsl": {
    "h": 115.102,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.51772,
    "c": 0.1561,
    "h": 141.9
  },
  "luminance": 0.15104
}

Semantic roles & 50–950 ramp

primary
#237D1B
secondary
#A843B1
accent
#40E7DA
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #237D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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