#23781B#23781B

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

Color values

HEX#23781B
RGBrgb(35, 120, 27)
HSLhsl(115, 63%, 29%)
HSVhsv(115, 78%, 47%)
CMYKcmyk(70.8%, 0%, 77.5%, 52.9%)
CIE-LABlab(44.04, -43.34, 41.09)
CIE-LCHlch(44.04, 59.72, 136.53°)
OKLaboklab(50.34% -0.1181 0.0926)
OKLCHoklch(50.34% 0.15 141.9)
XYZxyz(7.6070, 13.8686, 3.3127)
Luminance0.1387 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23781B #701B78
analogous
#52781B #23781B #1B7842
triadic
#23781B #1B2378 #781B23
tetradic
#23781B #1B5278 #701B78 #78421B
square
#23781B #1B5278 #701B78 #78421B
split-complementary
#23781B #421B78 #781B52
monochromatic
#071906 #144610 #23781B #32AA26 #48D33B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##23781B#FFFFFF#000000##FFFFFF
##23781B1.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)
#7B6C08
Deuteranopia (green-blind)
#716625
Tritanopia (blue-blind)
#0F7466
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #23781b;
/* rgb */ color: rgb(35, 120, 27);
/* oklch */ color: oklch(50.3% 0.150 141.9);
Tailwind
colors: {
  custom: {
    50: '#6ca05e',
    500: '#23781b',
    950: '#000000',
  },
}
SCSS
$custom: #23781b;
$custom-light: #6ca05e;
$custom-dark: #000000;
JSON
{
  "hex": "#23781b",
  "rgb": {
    "r": 35,
    "g": 120,
    "b": 27
  },
  "hsl": {
    "h": 114.839,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.50337,
    "c": 0.1501,
    "h": 141.9
  },
  "luminance": 0.13869
}

Semantic roles & 50–950 ramp

primary
#23781B
secondary
#A343AC
accent
#41E6D8
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080F05
muted
#7A7E79

Preview Lab

Preview with #23781B

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

Preview Lab → · Contrast checker → · Palette generator →

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