#23731A#23731A

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

Color values

HEX#23731A
RGBrgb(35, 115, 26)
HSLhsl(114, 63%, 28%)
HSVhsv(114, 77%, 45%)
CMYKcmyk(69.6%, 0%, 77.4%, 54.9%)
CIE-LABlab(42.30, -41.60, 39.72)
CIE-LCHlch(42.30, 57.51, 136.32°)
OKLaboklab(48.89% -0.1134 0.0896)
OKLCHoklch(48.89% 0.145 141.7)
XYZxyz(7.0099, 12.6927, 3.0576)
Luminance0.1269 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23731A #6A1A73
analogous
#4F731A #23731A #1A733E
triadic
#23731A #1A2373 #731A23
tetradic
#23731A #1A4F73 #6A1A73 #733E1A
square
#23731A #1A4F73 #6A1A73 #733E1A
split-complementary
#23731A #3E1A73 #731A4F
monochromatic
#081906 #14410F #23731A #32A525 #46D236

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##23731A#FFFFFF#000000##FFFFFF
##23731A1.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)
#766808
Deuteranopia (green-blind)
#6C6123
Tritanopia (blue-blind)
#126F62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #23731a;
/* rgb */ color: rgb(35, 115, 26);
/* oklch */ color: oklch(48.9% 0.145 141.7);
Tailwind
colors: {
  custom: {
    50: '#6a9c5d',
    500: '#23731a',
    950: '#000000',
  },
}
SCSS
$custom: #23731a;
$custom-light: #6a9c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#23731a",
  "rgb": {
    "r": 35,
    "g": 115,
    "b": 26
  },
  "hsl": {
    "h": 113.933,
    "s": 63.121,
    "l": 27.647
  },
  "oklch": {
    "l": 0.48886,
    "c": 0.14459,
    "h": 141.7
  },
  "luminance": 0.12693
}

Semantic roles & 50–950 ramp

primary
#23731A
secondary
#9D41A8
accent
#42E6D6
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #23731A

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

Preview Lab → · Contrast checker → · Palette generator →

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