#23791B#23791B

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

Color values

HEX#23791B
RGBrgb(35, 121, 27)
HSLhsl(115, 64%, 29%)
HSVhsv(115, 78%, 47%)
CMYKcmyk(71.1%, 0%, 77.7%, 52.5%)
CIE-LABlab(44.39, -43.70, 41.43)
CIE-LCHlch(44.39, 60.22, 136.52°)
OKLaboklab(50.62% -0.1191 0.0934)
OKLCHoklch(50.62% 0.151 141.9)
XYZxyz(7.7279, 14.1104, 3.3530)
Luminance0.1411 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23791B #711B79
analogous
#52791B #23791B #1B7942
triadic
#23791B #1B2379 #791B23
tetradic
#23791B #1B5279 #711B79 #79421B
square
#23791B #1B5279 #711B79 #79421B
split-complementary
#23791B #421B79 #791B52
monochromatic
#071906 #154710 #23791B #31AB26 #48D33B

Accessibility & contrast

On white

5.49
#23791B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #23791B
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23791B#FFFFFF#000000##FFFFFF
##23791B1.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #23791b;
/* rgb */ color: rgb(35, 121, 27);
/* oklch */ color: oklch(50.6% 0.151 141.9);
Tailwind
colors: {
  custom: {
    50: '#6ca15e',
    500: '#23791b',
    950: '#000000',
  },
}
SCSS
$custom: #23791b;
$custom-light: #6ca15e;
$custom-dark: #000000;
JSON
{
  "hex": "#23791b",
  "rgb": {
    "r": 35,
    "g": 121,
    "b": 27
  },
  "hsl": {
    "h": 114.894,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.50624,
    "c": 0.15131,
    "h": 141.9
  },
  "luminance": 0.14111
}

Semantic roles & 50–950 ramp

primary
#23791B
secondary
#A443AD
accent
#41E7D8
background
#F6FAF5
surface
#ECF3E9
border
#C7CDC5
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #23791B

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

Preview Lab → · Contrast checker → · Palette generator →

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