#235C2A#235C2A

#235C2A is a dark, moderate green. Relative luminance 0.082; OKLCH L 42.4% C 0.100 H 145.9°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#235C2A
RGBrgb(35, 92, 42)
HSLhsl(127, 45%, 25%)
HSVhsv(127, 62%, 36%)
CMYKcmyk(62%, 0%, 54.3%, 63.9%)
CIE-LABlab(34.35, -30.46, 23.17)
CIE-LCHlch(34.35, 38.27, 142.74°)
OKLaboklab(42.38% -0.0825 0.056)
OKLCHoklch(42.38% 0.1 145.9)
XYZxyz(4.9379, 8.1783, 3.5084)
Luminance0.0818 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#235C2A #5C2355
analogous
#395C23 #235C2A #235C46
triadic
#235C2A #2A235C #5C2A23
tetradic
#235C2A #23395C #5C2355 #5C4623
square
#235C2A #23395C #5C2355 #5C4623
split-complementary
#235C2A #46235C #5C2339
monochromatic
#08160A #123016 #235C2A #34883E #45B552

Accessibility & contrast

On white

7.97
#235C2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#235C2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #235C2A
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##235C2A#FFFFFF#000000##FFFFFF
##235C2A1.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5426
Deuteranopia (green-blind)
#564F2E
Tritanopia (blue-blind)
#175A50
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #235c2a;
/* rgb */ color: rgb(35, 92, 42);
/* oklch */ color: oklch(42.4% 0.100 145.9);
Tailwind
colors: {
  custom: {
    50: '#648b65',
    500: '#235c2a',
    950: '#000000',
  },
}
SCSS
$custom: #235c2a;
$custom-light: #648b65;
$custom-dark: #000000;
JSON
{
  "hex": "#235c2a",
  "rgb": {
    "r": 35,
    "g": 92,
    "b": 42
  },
  "hsl": {
    "h": 127.368,
    "s": 44.882,
    "l": 24.902
  },
  "oklch": {
    "l": 0.42376,
    "c": 0.09969,
    "h": 145.9
  },
  "luminance": 0.08179
}

Semantic roles & 50–950 ramp

primary
#235C2A
secondary
#904B87
accent
#53C5D5
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C05
muted
#7A7D7A

Preview Lab

Preview with #235C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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