#235A12#235A12

#235A12 is a dark, moderate green. Relative luminance 0.077; OKLCH L 41.5% C 0.118 H 139.5°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#235A12
RGBrgb(35, 90, 18)
HSLhsl(106, 67%, 21%)
HSVhsv(106, 80%, 35%)
CMYKcmyk(61.1%, 0%, 80%, 64.7%)
CIE-LABlab(33.38, -32.51, 33.94)
CIE-LCHlch(33.38, 47.00, 133.77°)
OKLaboklab(41.49% -0.0894 0.0764)
OKLCHoklch(41.49% 0.118 139.5)
XYZxyz(4.4583, 7.7129, 1.8260)
Luminance0.0771 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#235A12 #49125A
analogous
#475A12 #235A12 #125A25
triadic
#235A12 #12235A #5A1223
tetradic
#235A12 #12475A #49125A #5A2512
square
#235A12 #12475A #49125A #5A2512
split-complementary
#235A12 #25125A #5A1247
monochromatic
#0A1A05 #0F2708 #235A12 #378D1C #4BC026

Accessibility & contrast

On white

8.26
#235A12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#235A12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #235A12
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##235A12#FFFFFF#000000##FFFFFF
##235A121.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5105
Deuteranopia (green-blind)
#564D1A
Tritanopia (blue-blind)
#1D574C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #235a12;
/* rgb */ color: rgb(35, 90, 18);
/* oklch */ color: oklch(41.5% 0.118 139.5);
Tailwind
colors: {
  custom: {
    50: '#658955',
    500: '#235a12',
    950: '#000000',
  },
}
SCSS
$custom: #235a12;
$custom-light: #658955;
$custom-dark: #000000;
JSON
{
  "hex": "#235a12",
  "rgb": {
    "r": 35,
    "g": 90,
    "b": 18
  },
  "hsl": {
    "h": 105.833,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.41491,
    "c": 0.11759,
    "h": 139.5
  },
  "luminance": 0.07713
}

Semantic roles & 50–950 ramp

primary
#235A12
secondary
#7D3593
accent
#3EEAC1
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #235A12

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

Preview Lab → · Contrast checker → · Palette generator →

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