#23731C#23731C

#23731C is a mid, vivid green. Relative luminance 0.127; OKLCH L 48.9% C 0.143 H 142.0°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#23731C
RGBrgb(35, 115, 28)
HSLhsl(115, 61%, 28%)
HSVhsv(115, 76%, 45%)
CMYKcmyk(69.6%, 0%, 75.7%, 54.9%)
CIE-LABlab(42.31, -41.43, 38.95)
CIE-LCHlch(42.31, 56.86, 136.77°)
OKLaboklab(48.9% -0.1129 0.0883)
OKLCHoklch(48.9% 0.143 142)
XYZxyz(7.0331, 12.7019, 3.1795)
Luminance0.1270 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23731C #6C1C73
analogous
#4E731C #23731C #1C7340
triadic
#23731C #1C2373 #731C23
tetradic
#23731C #1C4E73 #6C1C73 #73401C
square
#23731C #1C4E73 #6C1C73 #73401C
split-complementary
#23731C #401C73 #731C4E
monochromatic
#071906 #144210 #23731C #32A428 #46CF3A

Accessibility & contrast

On white

5.93
#23731C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#23731C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #23731C
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23731C#FFFFFF#000000##FFFFFF
##23731C1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76680D
Deuteranopia (green-blind)
#6C6125
Tritanopia (blue-blind)
#126F62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #23731c;
/* rgb */ color: rgb(35, 115, 28);
/* oklch */ color: oklch(48.9% 0.143 142.0);
Tailwind
colors: {
  custom: {
    50: '#6a9c5e',
    500: '#23731c',
    950: '#000000',
  },
}
SCSS
$custom: #23731c;
$custom-light: #6a9c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#23731c",
  "rgb": {
    "r": 35,
    "g": 115,
    "b": 28
  },
  "hsl": {
    "h": 115.172,
    "s": 60.839,
    "l": 28.039
  },
  "oklch": {
    "l": 0.48902,
    "c": 0.14332,
    "h": 142
  },
  "luminance": 0.12703
}

Semantic roles & 50–950 ramp

primary
#23731C
secondary
#9F43A7
accent
#44E4D7
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #23731C

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

Preview Lab → · Contrast checker → · Palette generator →

#23731C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva