#23791A#23791A

#23791A is a mid, vivid green. Relative luminance 0.141; OKLCH L 50.6% C 0.152 H 141.8°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#23791A
RGBrgb(35, 121, 26)
HSLhsl(114, 65%, 29%)
HSVhsv(114, 79%, 47%)
CMYKcmyk(71.1%, 0%, 78.5%, 52.5%)
CIE-LABlab(44.38, -43.77, 41.80)
CIE-LCHlch(44.38, 60.52, 136.32°)
OKLaboklab(50.62% -0.1193 0.094)
OKLCHoklch(50.62% 0.152 141.8)
XYZxyz(7.7165, 14.1058, 3.2931)
Luminance0.1411 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23791A #701A79
analogous
#53791A #23791A #1A7941
triadic
#23791A #1A2379 #791A23
tetradic
#23791A #1A5379 #701A79 #79411A
square
#23791A #1A5379 #701A79 #79411A
split-complementary
#23791A #411A79 #791A53
monochromatic
#071905 #14470F #23791A #32AB25 #48D439

Accessibility & contrast

On white

5.50
#23791A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#23791A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #23791A
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23791A#FFFFFF#000000##FFFFFF
##23791A1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D05
Deuteranopia (green-blind)
#726624
Tritanopia (blue-blind)
#0E7567
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #23791a;
/* rgb */ color: rgb(35, 121, 26);
/* oklch */ color: oklch(50.6% 0.152 141.8);
Tailwind
colors: {
  custom: {
    50: '#6ca15e',
    500: '#23791a',
    950: '#000000',
  },
}
SCSS
$custom: #23791a;
$custom-light: #6ca15e;
$custom-dark: #000000;
JSON
{
  "hex": "#23791a",
  "rgb": {
    "r": 35,
    "g": 121,
    "b": 26
  },
  "hsl": {
    "h": 114.316,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.50617,
    "c": 0.1519,
    "h": 141.8
  },
  "luminance": 0.14107
}

Semantic roles & 50–950 ramp

primary
#23791A
secondary
#A341AD
accent
#40E8D8
background
#F6FAF5
surface
#ECF3E9
border
#C7CDC5
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #23791A

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

Preview Lab → · Contrast checker → · Palette generator →

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