#235B28#235B28

#235B28 is a dark, moderate green. Relative luminance 0.080; OKLCH L 42.0% C 0.100 H 145.1°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#235B28
RGBrgb(35, 91, 40)
HSLhsl(125, 44%, 25%)
HSVhsv(125, 62%, 36%)
CMYKcmyk(61.5%, 0%, 56%, 64.3%)
CIE-LABlab(33.97, -30.34, 23.82)
CIE-LCHlch(33.97, 38.57, 141.87°)
OKLaboklab(42.05% -0.0822 0.0573)
OKLCHoklch(42.05% 0.1 145.1)
XYZxyz(4.8169, 7.9923, 3.2959)
Luminance0.0799 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#235B28 #5B2356
analogous
#3A5B23 #235B28 #235B44
triadic
#235B28 #28235B #5B2823
tetradic
#235B28 #233A5B #5B2356 #5B4423
square
#235B28 #233A5B #5B2356 #5B4423
split-complementary
#235B28 #44235B #5B233A
monochromatic
#09160A #122F15 #235B28 #34873B #45B34F

Accessibility & contrast

On white

8.08
#235B28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#235B28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #235B28
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##235B28#FFFFFF#000000##FFFFFF
##235B281.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5324
Deuteranopia (green-blind)
#554E2C
Tritanopia (blue-blind)
#18594F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #235b28;
/* rgb */ color: rgb(35, 91, 40);
/* oklch */ color: oklch(42.0% 0.100 145.1);
Tailwind
colors: {
  custom: {
    50: '#648a63',
    500: '#235b28',
    950: '#000000',
  },
}
SCSS
$custom: #235b28;
$custom-light: #648a63;
$custom-dark: #000000;
JSON
{
  "hex": "#235b28",
  "rgb": {
    "r": 35,
    "g": 91,
    "b": 40
  },
  "hsl": {
    "h": 125.357,
    "s": 44.444,
    "l": 24.706
  },
  "oklch": {
    "l": 0.4205,
    "c": 0.10022,
    "h": 145.1
  },
  "luminance": 0.07993
}

Semantic roles & 50–950 ramp

primary
#235B28
secondary
#8F4B89
accent
#54C9D4
background
#F6F8F5
surface
#EBF0EA
border
#C6CBC6
text
#060C05
muted
#7A7D79

Preview Lab

Preview with #235B28

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

Preview Lab → · Contrast checker → · Palette generator →

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