#23731B#23731B

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

Color values

HEX#23731B
RGBrgb(35, 115, 27)
HSLhsl(115, 62%, 28%)
HSVhsv(115, 77%, 45%)
CMYKcmyk(69.6%, 0%, 76.5%, 54.9%)
CIE-LABlab(42.30, -41.51, 39.34)
CIE-LCHlch(42.30, 57.19, 136.54°)
OKLaboklab(48.89% -0.1132 0.089)
OKLCHoklch(48.89% 0.144 141.8)
XYZxyz(7.0213, 12.6972, 3.1175)
Luminance0.1270 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23731B #6B1B73
analogous
#4F731B #23731B #1B733F
triadic
#23731B #1B2373 #731B23
tetradic
#23731B #1B4F73 #6B1B73 #733F1B
square
#23731B #1B4F73 #6B1B73 #733F1B
split-complementary
#23731B #3F1B73 #731B4F
monochromatic
#081906 #14410F #23731B #32A527 #46D038

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##23731B#FFFFFF#000000##FFFFFF
##23731B1.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)
#76680B
Deuteranopia (green-blind)
#6C6124
Tritanopia (blue-blind)
#126F62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #23731b;
/* rgb */ color: rgb(35, 115, 27);
/* oklch */ color: oklch(48.9% 0.144 141.8);
Tailwind
colors: {
  custom: {
    50: '#6a9c5e',
    500: '#23731b',
    950: '#000000',
  },
}
SCSS
$custom: #23731b;
$custom-light: #6a9c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#23731b",
  "rgb": {
    "r": 35,
    "g": 115,
    "b": 27
  },
  "hsl": {
    "h": 114.545,
    "s": 61.972,
    "l": 27.843
  },
  "oklch": {
    "l": 0.48894,
    "c": 0.14397,
    "h": 141.8
  },
  "luminance": 0.12698
}

Semantic roles & 50–950 ramp

primary
#23731B
secondary
#9E42A8
accent
#43E5D6
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #23731B

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

Preview Lab → · Contrast checker → · Palette generator →

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