#23812A#23812A

#23812A is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.0% C 0.151 H 144.1°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#23812A
RGBrgb(35, 129, 42)
HSLhsl(124, 57%, 32%)
HSVhsv(124, 73%, 51%)
CMYKcmyk(72.9%, 0%, 67.4%, 49.4%)
CIE-LABlab(47.27, -45.14, 38.19)
CIE-LCHlch(47.27, 59.13, 139.77°)
OKLaboklab(53.05% -0.1222 0.0885)
OKLCHoklch(53.05% 0.151 144.1)
XYZxyz(8.9607, 16.2240, 4.8493)
Luminance0.1623 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23812A #81237A
analogous
#4B8123 #23812A #238159
triadic
#23812A #2A2381 #812A23
tetradic
#23812A #234B81 #81237A #815923
square
#23812A #234B81 #81237A #815923
split-complementary
#23812A #592381 #81234B
monochromatic
#09210B #16511A #23812A #30B13A #4FCF59

Accessibility & contrast

On white

4.95
#23812A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#23812A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #23812A
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23812A#FFFFFF#000000##FFFFFF
##23812A1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84751F
Deuteranopia (green-blind)
#796D32
Tritanopia (blue-blind)
#007D6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #23812a;
/* rgb */ color: rgb(35, 129, 42);
/* oklch */ color: oklch(53.0% 0.151 144.1);
Tailwind
colors: {
  custom: {
    50: '#6da768',
    500: '#23812a',
    950: '#000000',
  },
}
SCSS
$custom: #23812a;
$custom-light: #6da768;
$custom-dark: #000000;
JSON
{
  "hex": "#23812a",
  "rgb": {
    "r": 35,
    "g": 129,
    "b": 42
  },
  "hsl": {
    "h": 124.468,
    "s": 57.317,
    "l": 32.157
  },
  "oklch": {
    "l": 0.53047,
    "c": 0.15088,
    "h": 144.1
  },
  "luminance": 0.16225
}

Semantic roles & 50–950 ramp

primary
#23812A
secondary
#B34DAB
accent
#47D5E1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #23812A

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

Preview Lab → · Contrast checker → · Palette generator →

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