#237F1B#237F1B

#237F1B is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.3% C 0.158 H 142.0°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#237F1B
RGBrgb(35, 127, 27)
HSLhsl(115, 65%, 30%)
HSVhsv(115, 79%, 50%)
CMYKcmyk(72.4%, 0%, 78.7%, 50.2%)
CIE-LABlab(46.46, -45.82, 43.48)
CIE-LCHlch(46.46, 63.17, 136.50°)
OKLaboklab(52.35% -0.1248 0.0976)
OKLCHoklch(52.35% 0.158 142)
XYZxyz(8.4799, 15.6143, 3.6037)
Luminance0.1562 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237F1B #771B7F
analogous
#557F1B #237F1B #1B7F45
triadic
#237F1B #1B237F #7F1B23
tetradic
#237F1B #1B557F #771B7F #7F451B
square
#237F1B #1B557F #771B7F #7F451B
split-complementary
#237F1B #451B7F #7F1B55
monochromatic
#071A06 #154D10 #237F1B #31B126 #4AD63E

Accessibility & contrast

On white

5.09
#237F1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#237F1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #237F1B
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237F1B#FFFFFF#000000##FFFFFF
##237F1B1.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827304
Deuteranopia (green-blind)
#786B26
Tritanopia (blue-blind)
#097B6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #237f1b;
/* rgb */ color: rgb(35, 127, 27);
/* oklch */ color: oklch(52.3% 0.158 142.0);
Tailwind
colors: {
  custom: {
    50: '#6da55f',
    500: '#237f1b',
    950: '#000000',
  },
}
SCSS
$custom: #237f1b;
$custom-light: #6da55f;
$custom-dark: #000000;
JSON
{
  "hex": "#237f1b",
  "rgb": {
    "r": 35,
    "g": 127,
    "b": 27
  },
  "hsl": {
    "h": 115.2,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52345,
    "c": 0.15847,
    "h": 142
  },
  "luminance": 0.15615
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #237F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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