#237F28#237F28

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

Color values

HEX#237F28
RGBrgb(35, 127, 40)
HSLhsl(123, 57%, 32%)
HSVhsv(123, 72%, 50%)
CMYKcmyk(72.4%, 0%, 68.5%, 50.2%)
CIE-LABlab(46.56, -44.63, 38.32)
CIE-LCHlch(46.56, 58.83, 139.35°)
OKLaboklab(52.46% -0.1209 0.0886)
OKLCHoklch(52.46% 0.15 143.8)
XYZxyz(8.6650, 15.6883, 4.5786)
Luminance0.1569 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237F28 #7F237A
analogous
#4C7F23 #237F28 #237F56
triadic
#237F28 #28237F #7F2823
tetradic
#237F28 #234C7F #7F237A #7F5623
square
#237F28 #234C7F #7F237A #7F5623
split-complementary
#237F28 #56237F #7F234C
monochromatic
#091F0A #164F19 #237F28 #30AF37 #4ECE55

Accessibility & contrast

On white

5.08
#237F28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #237F28
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237F28#FFFFFF#000000##FFFFFF
##237F281.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82731D
Deuteranopia (green-blind)
#776B30
Tritanopia (blue-blind)
#037B6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #237f28;
/* rgb */ color: rgb(35, 127, 40);
/* oklch */ color: oklch(52.5% 0.150 143.8);
Tailwind
colors: {
  custom: {
    50: '#6ca566',
    500: '#237f28',
    950: '#000000',
  },
}
SCSS
$custom: #237f28;
$custom-light: #6ca566;
$custom-dark: #000000;
JSON
{
  "hex": "#237f28",
  "rgb": {
    "r": 35,
    "g": 127,
    "b": 40
  },
  "hsl": {
    "h": 123.261,
    "s": 56.79,
    "l": 31.765
  },
  "oklch": {
    "l": 0.52458,
    "c": 0.14988,
    "h": 143.8
  },
  "luminance": 0.15689
}

Semantic roles & 50–950 ramp

primary
#237F28
secondary
#B14CAC
accent
#48D8E0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #237F28

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

Preview Lab → · Contrast checker → · Palette generator →

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