#237C28#237C28

#237C28 is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.6% C 0.146 H 143.9°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#237C28
RGBrgb(35, 124, 40)
HSLhsl(123, 56%, 31%)
HSVhsv(123, 72%, 49%)
CMYKcmyk(71.8%, 0%, 67.7%, 51.4%)
CIE-LABlab(45.53, -43.54, 37.19)
CIE-LCHlch(45.53, 57.26, 139.50°)
OKLaboklab(51.6% -0.118 0.0862)
OKLCHoklch(51.6% 0.146 143.9)
XYZxyz(8.2833, 14.9249, 4.4513)
Luminance0.1493 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237C28 #7C2377
analogous
#4A7C23 #237C28 #237C54
triadic
#237C28 #28237C #7C2823
tetradic
#237C28 #234A7C #7C2377 #7C5423
square
#237C28 #234A7C #7C2377 #7C5423
split-complementary
#237C28 #54237C #7C234A
monochromatic
#081D09 #164C19 #237C28 #30AC37 #4DCD54

Accessibility & contrast

On white

5.27
#237C28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#237C28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #237C28
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237C28#FFFFFF#000000##FFFFFF
##237C281.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E701D
Deuteranopia (green-blind)
#746930
Tritanopia (blue-blind)
#06786B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #237c28;
/* rgb */ color: rgb(35, 124, 40);
/* oklch */ color: oklch(51.6% 0.146 143.9);
Tailwind
colors: {
  custom: {
    50: '#6ca366',
    500: '#237c28',
    950: '#000000',
  },
}
SCSS
$custom: #237c28;
$custom-light: #6ca366;
$custom-dark: #000000;
JSON
{
  "hex": "#237c28",
  "rgb": {
    "r": 35,
    "g": 124,
    "b": 40
  },
  "hsl": {
    "h": 123.371,
    "s": 55.975,
    "l": 31.176
  },
  "oklch": {
    "l": 0.51603,
    "c": 0.14608,
    "h": 143.9
  },
  "luminance": 0.14926
}

Semantic roles & 50–950 ramp

primary
#237C28
secondary
#AF4CA9
accent
#49D7DF
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #237C28

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

Preview Lab → · Contrast checker → · Palette generator →

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