#235812#235812

#235812 is a dark, moderate green. Relative luminance 0.074; OKLCH L 40.9% C 0.115 H 139.3°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#235812
RGBrgb(35, 88, 18)
HSLhsl(105, 66%, 21%)
HSVhsv(105, 80%, 35%)
CMYKcmyk(60.2%, 0%, 79.5%, 65.5%)
CIE-LABlab(32.66, -31.68, 33.22)
CIE-LCHlch(32.66, 45.91, 133.64°)
OKLaboklab(40.9% -0.0872 0.0749)
OKLCHoklch(40.9% 0.115 139.3)
XYZxyz(4.2919, 7.3801, 1.7705)
Luminance0.0738 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#235812 #471258
analogous
#465812 #235812 #125824
triadic
#235812 #122358 #581223
tetradic
#235812 #124658 #471258 #582412
square
#235812 #124658 #471258 #582412
split-complementary
#235812 #241258 #581246
monochromatic
#0A1905 #0F2508 #235812 #378B1C #4BBE27

Accessibility & contrast

On white

8.48
#235812 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#235812 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #235812
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##235812#FFFFFF#000000##FFFFFF
##2358121.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5005
Deuteranopia (green-blind)
#544B19
Tritanopia (blue-blind)
#1D554A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #235812;
/* rgb */ color: rgb(35, 88, 18);
/* oklch */ color: oklch(40.9% 0.115 139.3);
Tailwind
colors: {
  custom: {
    50: '#658855',
    500: '#235812',
    950: '#000000',
  },
}
SCSS
$custom: #235812;
$custom-light: #658855;
$custom-dark: #000000;
JSON
{
  "hex": "#235812",
  "rgb": {
    "r": 35,
    "g": 88,
    "b": 18
  },
  "hsl": {
    "h": 105.429,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.40896,
    "c": 0.11491,
    "h": 139.3
  },
  "luminance": 0.0738
}

Semantic roles & 50–950 ramp

primary
#235812
secondary
#7A3591
accent
#3FE9C0
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #235812

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

Preview Lab → · Contrast checker → · Palette generator →

#235812 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva