#23821F#23821F

#23821F is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.2% C 0.160 H 142.5°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#23821F
RGBrgb(35, 130, 31)
HSLhsl(118, 61%, 32%)
HSVhsv(118, 76%, 51%)
CMYKcmyk(73.1%, 0%, 76.2%, 49%)
CIE-LABlab(47.52, -46.56, 43.06)
CIE-LCHlch(47.52, 63.42, 137.24°)
OKLaboklab(53.23% -0.1266 0.0973)
OKLCHoklch(53.23% 0.16 142.5)
XYZxyz(8.9226, 16.4205, 3.9953)
Luminance0.1642 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23821F #7E1F82
analogous
#55821F #23821F #1F824D
triadic
#23821F #1F2382 #821F23
tetradic
#23821F #1F5582 #7E1F82 #824D1F
square
#23821F #1F5582 #7E1F82 #824D1F
split-complementary
#23821F #4D1F82 #821F55
monochromatic
#081F07 #165113 #23821F #30B32B #4ED348

Accessibility & contrast

On white

4.90
#23821F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#23821F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #23821F
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23821F#FFFFFF#000000##FFFFFF
##23821F1.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85750C
Deuteranopia (green-blind)
#7A6E2A
Tritanopia (blue-blind)
#057E6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #23821f;
/* rgb */ color: rgb(35, 130, 31);
/* oklch */ color: oklch(53.2% 0.160 142.5);
Tailwind
colors: {
  custom: {
    50: '#6ea762',
    500: '#23821f',
    950: '#000000',
  },
}
SCSS
$custom: #23821f;
$custom-light: #6ea762;
$custom-dark: #000000;
JSON
{
  "hex": "#23821f",
  "rgb": {
    "r": 35,
    "g": 130,
    "b": 31
  },
  "hsl": {
    "h": 117.576,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.5323,
    "c": 0.15969,
    "h": 142.5
  },
  "luminance": 0.16422
}

Semantic roles & 50–950 ramp

primary
#23821F
secondary
#B048B5
accent
#43E5DE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #23821F

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

Preview Lab → · Contrast checker → · Palette generator →

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