#23731F#23731F

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

Color values

HEX#23731F
RGBrgb(35, 115, 31)
HSLhsl(117, 58%, 29%)
HSVhsv(117, 73%, 45%)
CMYKcmyk(69.6%, 0%, 73%, 54.9%)
CIE-LABlab(42.33, -41.15, 37.73)
CIE-LCHlch(42.33, 55.83, 137.48°)
OKLaboklab(48.93% -0.112 0.0862)
OKLCHoklch(48.93% 0.141 142.4)
XYZxyz(7.0708, 12.7170, 3.3781)
Luminance0.1272 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23731F #6F1F73
analogous
#4D731F #23731F #1F7345
triadic
#23731F #1F2373 #731F23
tetradic
#23731F #1F4D73 #6F1F73 #73451F
square
#23731F #1F4D73 #6F1F73 #73451F
split-complementary
#23731F #451F73 #731F4D
monochromatic
#071806 #144312 #23731F #32A32C #47CC41

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #23731f;
/* rgb */ color: rgb(35, 115, 31);
/* oklch */ color: oklch(48.9% 0.141 142.4);
Tailwind
colors: {
  custom: {
    50: '#6a9c60',
    500: '#23731f',
    950: '#000000',
  },
}
SCSS
$custom: #23731f;
$custom-light: #6a9c60;
$custom-dark: #000000;
JSON
{
  "hex": "#23731f",
  "rgb": {
    "r": 35,
    "g": 115,
    "b": 31
  },
  "hsl": {
    "h": 117.143,
    "s": 57.534,
    "l": 28.627
  },
  "oklch": {
    "l": 0.48929,
    "c": 0.14129,
    "h": 142.4
  },
  "luminance": 0.12718
}

Semantic roles & 50–950 ramp

primary
#23731F
secondary
#A247A7
accent
#47E1D9
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #23731F

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

Preview Lab → · Contrast checker → · Palette generator →

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