#235C12#235C12

#235C12 is a dark, vivid green. Relative luminance 0.081; OKLCH L 42.1% C 0.120 H 139.6°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#235C12
RGBrgb(35, 92, 18)
HSLhsl(106, 67%, 22%)
HSVhsv(106, 80%, 36%)
CMYKcmyk(62%, 0%, 80.4%, 63.9%)
CIE-LABlab(34.10, -33.34, 34.65)
CIE-LCHlch(34.10, 48.09, 133.89°)
OKLaboklab(42.08% -0.0916 0.0779)
OKLCHoklch(42.08% 0.12 139.6)
XYZxyz(4.6293, 8.0549, 1.8829)
Luminance0.0805 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#235C12 #4B125C
analogous
#485C12 #235C12 #125C26
triadic
#235C12 #12235C #5C1223
tetradic
#235C12 #12485C #4B125C #5C2612
square
#235C12 #12485C #4B125C #5C2612
split-complementary
#235C12 #26125C #5C1248
monochromatic
#0A1A05 #102908 #235C12 #368F1C #4AC226

Accessibility & contrast

On white

8.04
#235C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#235C12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #235C12
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##235C12#FFFFFF#000000##FFFFFF
##235C121.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5304
Deuteranopia (green-blind)
#584E1A
Tritanopia (blue-blind)
#1C594E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #235c12;
/* rgb */ color: rgb(35, 92, 18);
/* oklch */ color: oklch(42.1% 0.120 139.6);
Tailwind
colors: {
  custom: {
    50: '#668b56',
    500: '#235c12',
    950: '#000000',
  },
}
SCSS
$custom: #235c12;
$custom-light: #668b56;
$custom-dark: #000000;
JSON
{
  "hex": "#235c12",
  "rgb": {
    "r": 35,
    "g": 92,
    "b": 18
  },
  "hsl": {
    "h": 106.216,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.42084,
    "c": 0.12025,
    "h": 139.6
  },
  "luminance": 0.08055
}

Semantic roles & 50–950 ramp

primary
#235C12
secondary
#7F3594
accent
#3EEAC3
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C03
muted
#7A7D78

Preview Lab

Preview with #235C12

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

Preview Lab → · Contrast checker → · Palette generator →

#235C12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva