#23791F#23791F

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

Color values

HEX#23791F
RGBrgb(35, 121, 31)
HSLhsl(117, 59%, 30%)
HSVhsv(117, 74%, 47%)
CMYKcmyk(71.1%, 0%, 74.4%, 52.5%)
CIE-LABlab(44.42, -43.36, 39.90)
CIE-LCHlch(44.42, 58.92, 137.38°)
OKLaboklab(50.66% -0.1179 0.0907)
OKLCHoklch(50.66% 0.149 142.4)
XYZxyz(7.7774, 14.1302, 3.6136)
Luminance0.1413 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23791F #751F79
analogous
#50791F #23791F #1F7948
triadic
#23791F #1F2379 #791F23
tetradic
#23791F #1F5079 #751F79 #79481F
square
#23791F #1F5079 #751F79 #79481F
split-complementary
#23791F #481F79 #791F50
monochromatic
#071806 #154813 #23791F #31AA2B #4ACF43

Accessibility & contrast

On white

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

On black

3.83
#23791F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##23791F#FFFFFF#000000##FFFFFF
##23791F1.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D10
Deuteranopia (green-blind)
#726628
Tritanopia (blue-blind)
#0D7567
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #23791f;
/* rgb */ color: rgb(35, 121, 31);
/* oklch */ color: oklch(50.7% 0.149 142.4);
Tailwind
colors: {
  custom: {
    50: '#6ca161',
    500: '#23791f',
    950: '#000000',
  },
}
SCSS
$custom: #23791f;
$custom-light: #6ca161;
$custom-dark: #000000;
JSON
{
  "hex": "#23791f",
  "rgb": {
    "r": 35,
    "g": 121,
    "b": 31
  },
  "hsl": {
    "h": 117.333,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.50657,
    "c": 0.14879,
    "h": 142.4
  },
  "luminance": 0.14131
}

Semantic roles & 50–950 ramp

primary
#23791F
secondary
#A847AC
accent
#45E2DB
background
#F6FAF5
surface
#ECF3EA
border
#C7CDC6
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #23791F

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

Preview Lab → · Contrast checker → · Palette generator →

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