#237B28#237B28

#237B28 is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.3% C 0.145 H 143.9°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#237B28
RGBrgb(35, 123, 40)
HSLhsl(123, 56%, 31%)
HSVhsv(123, 72%, 48%)
CMYKcmyk(71.5%, 0%, 67.5%, 51.8%)
CIE-LABlab(45.19, -43.17, 36.81)
CIE-LCHlch(45.19, 56.74, 139.55°)
OKLaboklab(51.32% -0.117 0.0854)
OKLCHoklch(51.32% 0.145 143.9)
XYZxyz(8.1586, 14.6756, 4.4098)
Luminance0.1468 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237B28 #7B2376
analogous
#4A7B23 #237B28 #237B54
triadic
#237B28 #28237B #7B2823
tetradic
#237B28 #234A7B #7B2376 #7B5423
square
#237B28 #234A7B #7B2376 #7B5423
split-complementary
#237B28 #54237B #7B234A
monochromatic
#081C09 #154B19 #237B28 #31AB37 #4CCC54

Accessibility & contrast

On white

5.34
#237B28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#237B28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #237B28
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237B28#FFFFFF#000000##FFFFFF
##237B281.005.343.945.34
#FFFFFF5.341.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F1E
Deuteranopia (green-blind)
#73682F
Tritanopia (blue-blind)
#07786A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #237b28;
/* rgb */ color: rgb(35, 123, 40);
/* oklch */ color: oklch(51.3% 0.145 143.9);
Tailwind
colors: {
  custom: {
    50: '#6ca266',
    500: '#237b28',
    950: '#000000',
  },
}
SCSS
$custom: #237b28;
$custom-light: #6ca266;
$custom-dark: #000000;
JSON
{
  "hex": "#237b28",
  "rgb": {
    "r": 35,
    "g": 123,
    "b": 40
  },
  "hsl": {
    "h": 123.409,
    "s": 55.696,
    "l": 30.98
  },
  "oklch": {
    "l": 0.51317,
    "c": 0.1448,
    "h": 143.9
  },
  "luminance": 0.14676
}

Semantic roles & 50–950 ramp

primary
#237B28
secondary
#AE4CA8
accent
#49D6DF
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #237B28

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

Preview Lab → · Contrast checker → · Palette generator →

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