#23781C#23781C

#23781C is a mid, vivid green. Relative luminance 0.139; OKLCH L 50.3% C 0.149 H 142.0°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#23781C
RGBrgb(35, 120, 28)
HSLhsl(115, 62%, 29%)
HSVhsv(115, 77%, 47%)
CMYKcmyk(70.8%, 0%, 76.7%, 52.9%)
CIE-LABlab(44.05, -43.25, 40.71)
CIE-LCHlch(44.05, 59.40, 136.73°)
OKLaboklab(50.35% -0.1178 0.092)
OKLCHoklch(50.35% 0.149 142)
XYZxyz(7.6188, 13.8733, 3.3747)
Luminance0.1387 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23781C #711C78
analogous
#51781C #23781C #1C7843
triadic
#23781C #1C2378 #781C23
tetradic
#23781C #1C5178 #711C78 #78431C
square
#23781C #1C5178 #711C78 #78431C
split-complementary
#23781C #431C78 #781C51
monochromatic
#071906 #154610 #23781C #31AA28 #48D23D

Accessibility & contrast

On white

5.56
#23781C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#23781C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #23781C
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23781C#FFFFFF#000000##FFFFFF
##23781C1.005.563.775.56
#FFFFFF5.561.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C0A
Deuteranopia (green-blind)
#716626
Tritanopia (blue-blind)
#0F7466
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #23781c;
/* rgb */ color: rgb(35, 120, 28);
/* oklch */ color: oklch(50.3% 0.149 142.0);
Tailwind
colors: {
  custom: {
    50: '#6ba05f',
    500: '#23781c',
    950: '#000000',
  },
}
SCSS
$custom: #23781c;
$custom-light: #6ba05f;
$custom-dark: #000000;
JSON
{
  "hex": "#23781c",
  "rgb": {
    "r": 35,
    "g": 120,
    "b": 28
  },
  "hsl": {
    "h": 115.435,
    "s": 62.162,
    "l": 29.02
  },
  "oklch": {
    "l": 0.50345,
    "c": 0.14948,
    "h": 142
  },
  "luminance": 0.13874
}

Semantic roles & 50–950 ramp

primary
#23781C
secondary
#A444AC
accent
#43E5D9
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080F05
muted
#7A7E79

Preview Lab

Preview with #23781C

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

Preview Lab → · Contrast checker → · Palette generator →

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