#237F2A#237F2A

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

Color values

HEX#237F2A
RGBrgb(35, 127, 42)
HSLhsl(125, 57%, 32%)
HSVhsv(125, 72%, 50%)
CMYKcmyk(72.4%, 0%, 66.9%, 50.2%)
CIE-LABlab(46.58, -44.41, 37.43)
CIE-LCHlch(46.58, 58.08, 139.87°)
OKLaboklab(52.48% -0.1202 0.0869)
OKLCHoklch(52.48% 0.148 144.1)
XYZxyz(8.6999, 15.7023, 4.7624)
Luminance0.1570 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237F2A #7F2378
analogous
#4A7F23 #237F2A #237F58
triadic
#237F2A #2A237F #7F2A23
tetradic
#237F2A #234A7F #7F2378 #7F5823
square
#237F2A #234A7F #7F2378 #7F5823
split-complementary
#237F2A #58237F #7F234A
monochromatic
#091F0A #164F1A #237F2A #30AF3A #4ECE58

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##237F2A#FFFFFF#000000##FFFFFF
##237F2A1.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)
#817320
Deuteranopia (green-blind)
#776C32
Tritanopia (blue-blind)
#027B6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #237f2a;
/* rgb */ color: rgb(35, 127, 42);
/* oklch */ color: oklch(52.5% 0.148 144.1);
Tailwind
colors: {
  custom: {
    50: '#6ca567',
    500: '#237f2a',
    950: '#000000',
  },
}
SCSS
$custom: #237f2a;
$custom-light: #6ca567;
$custom-dark: #000000;
JSON
{
  "hex": "#237f2a",
  "rgb": {
    "r": 35,
    "g": 127,
    "b": 42
  },
  "hsl": {
    "h": 124.565,
    "s": 56.79,
    "l": 31.765
  },
  "oklch": {
    "l": 0.52479,
    "c": 0.14835,
    "h": 144.1
  },
  "luminance": 0.15703
}

Semantic roles & 50–950 ramp

primary
#237F2A
secondary
#B14CAA
accent
#48D4E0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #237F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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