#23731D#23731D

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

Color values

HEX#23731D
RGBrgb(35, 115, 29)
HSLhsl(116, 60%, 28%)
HSVhsv(116, 75%, 45%)
CMYKcmyk(69.6%, 0%, 74.8%, 54.9%)
CIE-LABlab(42.32, -41.34, 38.55)
CIE-LCHlch(42.32, 56.52, 137.00°)
OKLaboklab(48.91% -0.1126 0.0876)
OKLCHoklch(48.91% 0.143 142.1)
XYZxyz(7.0452, 12.7068, 3.2435)
Luminance0.1271 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23731D #6D1D73
analogous
#4E731D #23731D #1D7342
triadic
#23731D #1D2373 #731D23
tetradic
#23731D #1D4E73 #6D1D73 #73421D
square
#23731D #1D4E73 #6D1D73 #73421D
split-complementary
#23731D #421D73 #731D4E
monochromatic
#071806 #144211 #23731D #32A429 #47CE3C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##23731D#FFFFFF#000000##FFFFFF
##23731D1.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)
#76680F
Deuteranopia (green-blind)
#6C6126
Tritanopia (blue-blind)
#116F62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #23731d;
/* rgb */ color: rgb(35, 115, 29);
/* oklch */ color: oklch(48.9% 0.143 142.1);
Tailwind
colors: {
  custom: {
    50: '#6a9c5f',
    500: '#23731d',
    950: '#000000',
  },
}
SCSS
$custom: #23731d;
$custom-light: #6a9c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#23731d",
  "rgb": {
    "r": 35,
    "g": 115,
    "b": 29
  },
  "hsl": {
    "h": 115.814,
    "s": 59.722,
    "l": 28.235
  },
  "oklch": {
    "l": 0.48911,
    "c": 0.14266,
    "h": 142.1
  },
  "luminance": 0.12708
}

Semantic roles & 50–950 ramp

primary
#23731D
secondary
#A045A7
accent
#45E3D8
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #23731D

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

Preview Lab → · Contrast checker → · Palette generator →

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