#23791C#23791C

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

Color values

HEX#23791C
RGBrgb(35, 121, 28)
HSLhsl(115, 62%, 29%)
HSVhsv(115, 77%, 47%)
CMYKcmyk(71.1%, 0%, 76.9%, 52.5%)
CIE-LABlab(44.40, -43.61, 41.06)
CIE-LCHlch(44.40, 59.90, 136.73°)
OKLaboklab(50.63% -0.1188 0.0927)
OKLCHoklch(50.63% 0.151 142)
XYZxyz(7.7397, 14.1151, 3.4150)
Luminance0.1412 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23791C #721C79
analogous
#52791C #23791C #1C7944
triadic
#23791C #1C2379 #791C23
tetradic
#23791C #1C5279 #721C79 #79441C
square
#23791C #1C5279 #721C79 #79441C
split-complementary
#23791C #441C79 #791C52
monochromatic
#071906 #154710 #23791C #31AB28 #48D23D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##23791C#FFFFFF#000000##FFFFFF
##23791C1.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)
#7C6D0A
Deuteranopia (green-blind)
#726626
Tritanopia (blue-blind)
#0E7567
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #23791c;
/* rgb */ color: rgb(35, 121, 28);
/* oklch */ color: oklch(50.6% 0.151 142.0);
Tailwind
colors: {
  custom: {
    50: '#6ca15f',
    500: '#23791c',
    950: '#000000',
  },
}
SCSS
$custom: #23791c;
$custom-light: #6ca15f;
$custom-dark: #000000;
JSON
{
  "hex": "#23791c",
  "rgb": {
    "r": 35,
    "g": 121,
    "b": 28
  },
  "hsl": {
    "h": 115.484,
    "s": 62.416,
    "l": 29.216
  },
  "oklch": {
    "l": 0.50632,
    "c": 0.15071,
    "h": 142
  },
  "luminance": 0.14116
}

Semantic roles & 50–950 ramp

primary
#23791C
secondary
#A544AD
accent
#42E5D9
background
#F6FAF5
surface
#ECF3EA
border
#C7CDC6
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #23791C

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

Preview Lab → · Contrast checker → · Palette generator →

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